Learn R Programming

expirest (version 0.1.6)

get_predictions: Get the predicted values

Description

The function get_predictions() makes the predictions to be shown on the graphs prepared by the function plot_expirest_osle() or plot_expirest_wisle().

Usage

get_predictions(model, model_name, x_range)

Value

A data frame with the columns named after the batch_vbl, the time_vbl and the response_vbl (see function descriptions of plot_expirest_osle() or plot_expirest_wisle()) and further two columns named LL and UL which represent the lower or the upper confidence or prediction interval limits, respectively.

Arguments

model

An ‘expirest_osle’ or an ‘expirest_Wisle’ object, i.e. a list returned by the expirest_osle() or by the expirest_wisle() function.

model_name

A character string representing the acronym that specifies which model, based on the ANCOVA analysis, suits best.

x_range

A numeric vector of the form c(min, max) that specifies the range of the time variable to be plotted.

Details

The function get_predictions() prepares a data frame that contains the predicted values .

See Also

plot_expirest_osle, plot_expirest_wisle.