basic curve stripping to get initial estimates
strip_curves(.time, .dv, dose, number_terminal_points, oral = FALSE, round = 2)
| .time | column for time |
|---|---|
| .dv | column for DV (concentration) values |
| dose | Dose value or column |
| number_terminal_points | number of points in terminal phase |
| oral | whether data is oral (instead of IV) |
| round | number of decimals to round, default to 2 |
for oral stripping, if multiple cmax values found per ID, will use the first
if (FALSE) { strip_curves(df$TIME, df$DV, dose =1000, 5, oral=TRUE) df %>% group_by(ID) %>% do(data.frame(strip_curves(.$TIME, .$DV, 1000, 5, TRUE))) }