model_predict.RxODE: Predict for RxODE

Description Usage Arguments Value

View source: R/RxODE.R

Description

Predict for RxODE

Usage

1
2
3
## S3 method for class 'RxODE'
model_predict(model, newdata, regimen = data.frame(TIME =
  c()), parameters = c(), covariates = NULL, extraArguments = list())

Arguments

model

The model itself.

newdata

A dataframe with at least a column 'TIME' and other values that should be observed, or a numeric TIME vector to produce all values that can be observed by this model

regimen

dataframe with column 'TIME' and adhering to standard NONMEM specifications otherwise (columns AMT, RATE, CMT).

parameters

either a dataframe with column 'TIME' and a column for each covariate and parameter, or a named numeric vector

covariates

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

extraArguments

extra arguments to use

Value

A data.frame similar to the observed data frame, but with predicted values.


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