model_predict.algebraic: Predict for algebraic models

Description Usage Arguments Value

View source: R/algebraic.R

Description

We only support dosing into the default compartment, and only bolus doses

Usage

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

Arguments

model

the algebraic model

newdata

dataframe with a column 'TIME' and 'CONC'. Other columns are ignored.

regimen

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

parameters

a named numeric vector

covariates

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

Value

A data.frame similar to the newdata data frame, but with CONC column filled out.


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