model_predict.tdmore_deSolve: Predict for tdmore_deSolve

Description Usage Arguments Value

View source: R/deSolve.R

Description

Predict for tdmore_deSolve

Usage

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

Arguments

model

The model function

newdata

data frame with at least a TIME column, and all observed data. The observed data will be compared to the model predictions. If not specified, we estimate the population prediction

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

NOT IMPLEMENTED

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.