| plotPK | R Documentation |
Generates individual and superposed concentration vs. time curve and save it in pdf files.
plotPK(concData, id, Time, conc, unitTime = "hr", unitConc = "ng/mL", trt = "",
fit = "Linear", dose = 0, adm = "Extravascular", dur = 0, outdir = "Output")
concData |
name of data table containing time-concentration data of multiple subjects |
id |
column name for subject ID |
Time |
column name for the time |
conc |
column name for the concentration |
unitTime |
unit for the time |
unitConc |
unit for the concentration |
trt |
column name for the treatment code. This is useful for crossover study like bioequivalence trial. |
fit |
one of |
dose |
administered dose. One should be careful for the unit. This can be a vector containing dose for each subject in order. |
adm |
one of |
dur |
infusion duration for constant infusion, otherwise 0. This can be a vector containing values for each subject in order. |
outdir |
name of the folder to be used for the output files |
This function generates plots for individual and summary concentration vs. time curve. This function calles NCA().
This function saves pdf files and tiff files in the outdir folder.
Jee Eun Lee <JeeEun.Lee@fda.hhs.gov>
NCA
# plotPK(Theoph, "Subject", "Time", "conc", unitTime="hr", unitConc="mg/L", dose=320) # plotPK(Indometh, "Subject", "time", "conc", unitTime="hr", unitConc="mg/L", adm="Bolus", dose=25)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.