This draws pharmacokinetic concentration-time curve with ggplot2 packages.

plot_nca(concData, colSubj = "Subject", colTime = "Time",
  colConc = "conc")

Arguments

concData

concentration data table

colSubj

column name for subject ID

colTime

column name for time

colConc

column name for concentration

Value

ggplot2 figures

Examples

plot_nca(concData = Theoph, colSubj = "Subject", colTime = "Time", colConc = "conc")
#> Scale for 'y' is already present. Adding another scale for 'y', which will #> replace the existing scale.
#> Warning: Transformation introduced infinite values in continuous y-axis
#> Warning: Transformation introduced infinite values in continuous y-axis
#> Warning: Transformation introduced infinite values in continuous y-axis
#> Warning: Transformation introduced infinite values in continuous y-axis
plot_nca(concData = Indometh, colSubj = "Subject", colTime = "time", colConc = "conc")
#> Scale for 'y' is already present. Adding another scale for 'y', which will #> replace the existing scale.