This draws pharmacokinetic concentration-time curve with ggplot2 packages.

plot_conc(df)

Arguments

df

concentration data table

colSubj

column name for subject ID

colTime

column name for time

colConc

column name for concentration