strip_curves: basic curve stripping to get initial estimates

Description Usage Arguments Details Examples

View source: R/strip_curves.R

Description

basic curve stripping to get initial estimates

Usage

1
strip_curves(.time, .dv, dose, number_terminal_points, oral = FALSE, round = 2)

Arguments

.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

Details

for oral stripping, if multiple cmax values found per ID, will use the first

Examples

1
2
3
4
5
## Not run: 
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)))

## End(Not run)

PKPDmisc documentation built on April 14, 2020, 5:49 p.m.