construct2CompModel: construct a 2 compartmental 'PkModel-class' by providing...

Description Usage Arguments Note Examples

View source: R/objectPkModel.R

Description

construct a 2 compartmental PkModel-class by providing parameters and dosing info

Usage

1
2
construct2CompModel(parameters, dosingInfo, correlationMatrix = NULL,
  coeffVariationError = 0)

Arguments

parameters

see PkModel-class

dosingInfo

see PkModel-class

correlationMatrix

see PkModel-class, if NULL idendity matrix is constructed

coeffVariationError

see PkModel-class , defaults to 0

Note

model function is get2ComptModelCurve

Examples

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 )

microsamplingDesign documentation built on Oct. 13, 2021, 5:10 p.m.