Description Usage Arguments Details Value Examples
Calculates Cmax and Tmax from raw data for each PK curve defined using by
.
1 | calc.ctmax(x, by = character(0), timevar = "time", depvar = "dv")
|
x |
data.frame |
by |
column names in x indicating grouping variables |
timevar |
variable name containing the actual sampling time after dose |
depvar |
variable name containing the dependent variable (e.g., concentration) |
Input dataset can contain all uncorrected data, including LOQ; estimate first occurence of maximum concentration for each PK curve; if all concentrations are NA, sets Cmax and Tmax also to NA.
A dataset with estimates for the Cmax (maximum concentration) and Tmax (time of first occurence of cmax) parameters: one observation per subject
1 2 3 | example(est.thalf)
ctmax <- x %>% calc.ctmax(by = 'subject')
ctmax %>% head
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.