model_predict: Prototype predict function

Description Usage Arguments Value

View source: R/model.R

Description

Prototype predict function

Usage

1
2
model_predict(model, newdata, regimen, parameters, covariates,
  extraArguments)

Arguments

model

The model itself.

newdata

dataframe with at least a column 'TIME' and other values. A prediction will be generated for each value.

regimen

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

parameters

named vector

covariates

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

extraArguments

named list with extra arguments to use for call

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.