predict.tdmore: Predict from a tdmore model

Description Usage Arguments Value See Also

View source: R/model.R

Description

Predict from a tdmore model

Usage

1
2
3
## S3 method for class 'tdmore'
predict(object, newdata, regimen, parameters = NULL,
  covariates = NULL, se = FALSE, level = 0.95, ...)

Arguments

object

TDMore object

newdata

Data.frame of new data with at least a TIME column, and blank columns with all desired predictions or a numeric vector to predict all possible values from the model

regimen

Treatment regimen

parameters

The parameter values to use, missing values are taken from the population

covariates

the model covariates, named vector, or data.frame with column 'TIME', and at least TIME 0

se

Whether to add residual error

level

How much residual error to add

...

ignored

Value

A data.frame with all observed values at the given time points

See Also

tdmore::model_predict


tdmore-dev/tdmore documentation built on Nov. 15, 2018, 9:45 p.m.