Description Usage Arguments Value See Also Examples
caffConcTime
will create a dataset of the concentration-time curve
1 | caffConcTime(Weight, Dose, N = 20)
|
Weight |
Body weight (kg) |
Dose |
Dose of single caffeine (mg) |
N |
The number of simulated subjects |
The dataset of concentration and time of simulated subjects
https://asancpt.github.io/caffsim
1 2 | caffConcTime(Weight = 20, Dose = 200, N = 20)
caffConcTime(20, 200)
|
# A tibble: 4,820 x 3
Subject Time Conc
<dbl> <dbl> <dbl>
1 1 0 0
2 1 0.1 4.26
3 1 0.2 7.34
4 1 0.3 9.53
5 1 0.4 11.1
6 1 0.5 12.2
7 1 0.6 12.9
8 1 0.7 13.4
9 1 0.8 13.7
10 1 0.9 13.9
# ... with 4,810 more rows
# A tibble: 4,820 x 3
Subject Time Conc
<dbl> <dbl> <dbl>
1 1 0 0
2 1 0.1 10.4
3 1 0.2 12.9
4 1 0.3 13.3
5 1 0.4 13.2
6 1 0.5 13.0
7 1 0.6 12.8
8 1 0.7 12.5
9 1 0.8 12.2
10 1 0.9 12.0
# ... with 4,810 more rows
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.