Learn R Programming

microsamplingDesign (version 1.0.8)

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

Description

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

Usage

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

Arguments

parameters
dosingInfo
correlationMatrix

see PkModel-class, if NULL idendity matrix is constructed

coeffVariationError

see PkModel-class , defaults to 0

Examples

Run this code
# NOT RUN {
  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 )
# }

Run the code above in your browser using DataLab