algebraic: Use an external function to generate an algebraic model,...

Description Usage Arguments Value

View source: R/algebraic.R

Description

Use an external function to generate an algebraic model, capable of being used with tdmore() Algebraic functions are assumed to be dose-linear, meaning that they can be calculated for a single dose and then summed up for multiple doses.

Usage

1
algebraic(fun)

Arguments

fun

a function with 'time' as the first argument, and additional parameters as needed. In case parameters will be estimated, they should have a mean of '0' and be normal-distributed.

The function can also include parameters 'TIME', 'AMT', 'II', 'ADDL', 'RATE', 'DURATION' or 'CMT'. These are then taken from the treatment regimen.

Value

An algebraic prediction model


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