Learn R Programming

microsamplingDesign (version 1.0.8)

plotMMKinetics: plot MM kinetics of both absorption and clearance

Description

plot MM kinetics of both absorption and clearance

Usage

plotMMKinetics(pkModel, doseRange, concentrationRange,
  absorptionYRange = NULL, clearanceYRange = NULL)

Arguments

pkModel

an object of PkModel-class

doseRange

numeric vector representing the range of doses for absorption plot

concentrationRange

numeric vector representing the range of concentrations for the clearance plot

absorptionYRange

numeric vector of size 2 specifying y-limits for the absorption plot, defaults to NULL

clearanceYRange

numeric vector of size 2 specifying y-limits for the clearance plot, defaults to NULL

Value

ggplot2 object

Examples

Run this code
# NOT RUN {
   plotMMKinetics( pkModel = getExamplePkModel() , 
      doseRange = seq( 0 , 5 , 0.1 ) , 
      concentrationRange = seq( 0 , 2.5 , 0.1  ) )
   plotMMKinetics( pkModel = getExamplePkModel() , 
       doseRange = seq( 0 , 5 , 0.1 ) , 
       concentrationRange = seq( 0 , 2.5 , 0.1  ) , 
       clearanceYRange = c( 0 , 50 ) , absorptionYRange = c( 0 , 10 )  )
# }

Run the code above in your browser using DataLab