caffConcTimeMulti: Create a dataset of the concentration-time curve of multiple...

Description Usage Arguments Value See Also Examples

Description

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

Usage

1
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

https://asancpt.github.io/caffsim

Examples

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

Example output

# A tibble: 19,220 x 3
# Groups:   Subject [20]
   Subject  Time  Conc
     <dbl> <dbl> <dbl>
 1       1   0    0   
 2       1   0.1  9.02
 3       1   0.2 12.8 
 4       1   0.3 14.3 
 5       1   0.4 14.9 
 6       1   0.5 15.1 
 7       1   0.6 15.1 
 8       1   0.7 15.0 
 9       1   0.8 14.9 
10       1   0.9 14.8 
# ... with 19,210 more rows
# A tibble: 19,220 x 3
# Groups:   Subject [20]
   Subject  Time  Conc
     <dbl> <dbl> <dbl>
 1       1   0    0   
 2       1   0.1  7.00
 3       1   0.2 11.2 
 4       1   0.3 13.6 
 5       1   0.4 15.0 
 6       1   0.5 15.8 
 7       1   0.6 16.1 
 8       1   0.7 16.2 
 9       1   0.8 16.2 
10       1   0.9 16.1 
# ... with 19,210 more rows

caffsim documentation built on May 2, 2019, 3:45 p.m.