Description Usage Arguments Note Examples
View source: R/objectPkModel.R
construct a 2 compartmental PkModel-class
by providing parameters and dosing info
1 2 | construct2CompModel(parameters, dosingInfo, correlationMatrix = NULL,
coeffVariationError = 0)
|
parameters |
see |
dosingInfo |
see |
correlationMatrix |
see |
coeffVariationError |
see |
model function is get2ComptModelCurve
1 2 3 4 5 6 7 | dosingInfo <- data.frame( time = 0 , dose = 1)
dataParametersFile <- system.file( "extData",
"examplePkParameters.csv" , package = "microsamplingDesign" )
exampleParameters <- read.csv( dataParametersFile ,
stringsAsFactors = FALSE , na.strings = NULL )
pkModel <- construct2CompModel( exampleParameters , dosingInfo )
plotObject( pkModel , times = seq( 0, 5 , 0.1) , nSamplesIntegration = 12 )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.