Description Usage Arguments Value Examples
provides solution of two compartmental pharmacodynamic model at specified time points
1 2 | get2ComptModelCurve(parameters, time, dosingInfo,
internalODEs = pkOdeModel2Compartments, returnAll = FALSE)
|
parameters |
a list with correclty named input parameters |
time |
a numeric vector of times |
dosingInfo |
a data.frame with 2 colunmns
|
internalODEs |
the model function used defaults to |
returnAll |
logical indicator if |
data.frame
or numeric vector of solutions, depending on the value of returnAll
1 2 3 4 5 6 7 8 9 10 | pkModel <- getExamplePkModel()
parameters <- getParameters( pkModel )
testParameters <- parameters[ , "value"]
names(testParameters) <- parameters[ , "parameter"]
time <- seq( 0 , 3 , 0.1 )
dosingInfo <- data.frame( time = c( 0 , 1 , 2) ,
dose = c( 5 , 2 , 1.5 ) )
get2ComptModelCurve( parameters = testParameters , time , dosingInfo )
get2ComptModelCurve( parameters = testParameters, time ,
dosingInfo , returnAll = TRUE )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.