caffConcTimeMulti will create a dataset of the concentration-time curve of multiple oral administration of caffeine.

caffConcTimeMulti(Weight, Dose, N = 20, Tau = 8, Repeat = 4)

Arguments

Weight

Body weight (kg)

Dose

Dose of single caffeine (mg)

N

The number of simulated subjects

Tau

The interval of multiple dosing (hour)

Repeat

The number of dosing

Value

The dataset of concentration and time of simulated subjects of multiple dosing

See also

Examples

caffConcTimeMulti(Weight = 20, Dose = 200, N = 20, Tau = 8, Repeat = 4)
#> # A tibble: 19,220 x 3 #> # Groups: Subject [20] #> Subject Time Conc #> <dbl> <dbl> <dbl> #> 1 1 0 0 #> 2 1 0.1 9.67 #> 3 1 0.2 9.89 #> 4 1 0.3 9.76 #> 5 1 0.4 9.63 #> 6 1 0.5 9.49 #> 7 1 0.6 9.35 #> 8 1 0.7 9.22 #> 9 1 0.8 9.09 #> 10 1 0.9 8.96 #> # ... with 19,210 more rows
caffConcTimeMulti(20, 200)
#> # A tibble: 19,220 x 3 #> # Groups: Subject [20] #> Subject Time Conc #> <dbl> <dbl> <dbl> #> 1 1 0 0 #> 2 1 0.1 3.01 #> 3 1 0.2 5.56 #> 4 1 0.3 7.71 #> 5 1 0.4 9.54 #> 6 1 0.5 11.1 #> 7 1 0.6 12.3 #> 8 1 0.7 13.4 #> 9 1 0.8 14.3 #> 10 1 0.9 15.0 #> # ... with 19,210 more rows