# caffDescstat: Calculate descriptive statistics of simulated PK parameters In caffsim: Simulation of Plasma Caffeine Concentrations by Using Population Pharmacokinetic Model

## Description

`caffDescstat` will calculate descriptive statistics of simulated PK parameters

## Usage

 `1` ```caffDescstat(caffPkparamData) ```

## Arguments

 `caffPkparamData` data frame generated by caffPkparam function

## Value

The descriptive statistics of pharmacokinetic parameters

## Examples

 ```1 2 3 4 5 6``` ```caffDescstat(caffPkparam(20,500)) caffDescstat(caffPkparamMulti(20,500)) caffDescExample <- cbind(caffDescstat(caffPkparam(20,500)), caffDescstat(caffPkparam(50,500))[,2]) colnames(caffDescExample)[2:3] <- c('20 kg', '50 kg') caffDescExample ```

### Example output

```# A tibble: 8 x 2
`PK parameters` `value: mean (sd) [min-max]`
<chr>           <chr>
1 AUC             287.86 (110.17) [119.07-598.97]
2 CL              1.99 (0.81) [0.83-4.20]
3 Cmax            32.89 (7.15) [22.83-47.92]
4 Half_life       5.41 (1.61) [2.96-9.33]
5 Ka              7.31 (5.91) [0.80-24.28]
6 Ke              0.14 (0.04) [0.07-0.23]
7 Tmax            0.86 (0.65) [0.21-2.72]
8 V               14.13 (2.61) [9.44-18.49]
# A tibble: 8 x 2
`PK parameters` `value: mean (sd) [min-max]`
<chr>           <chr>
1 AI              1.45 (0.19) [1.17-1.75]
2 AUCS            251.37 (87.89) [103.39-422.75]
3 Aavss           421.42 (110.03) [259.92-588.00]
4 Cavss           31.42 (10.99) [12.92-52.84]
5 CmaxS           32.64 (7.33) [21.52-45.15]
6 Cmaxss          53.55 (13.74) [28.19-79.45]
7 Cminss          16.74 (8.31) [4.51-32.97]
8 TmaxS           0.93 (0.82) [0.04-3.43]
PK parameters                           20 kg                         50 kg
1           AUC 266.80 (106.93) [146.93-541.05] 103.76 (40.78) [58.78-208.73]
2            CL         2.14 (0.76) [0.92-3.40]       5.41 (1.73) [2.40-8.51]
3          Cmax     33.79 (11.15) [18.90-61.94]     12.18 (3.30) [7.92-18.66]
4     Half_life         4.80 (1.23) [3.03-6.65]       5.15 (1.24) [3.51-7.89]
5            Ka        7.03 (8.42) [0.79-39.33]      5.20 (4.12) [1.26-16.06]
6            Ke         0.15 (0.04) [0.10-0.23]       0.14 (0.03) [0.09-0.20]
7          Tmax         0.92 (0.62) [0.14-2.55]       0.96 (0.45) [0.28-1.88]
8             V       13.90 (3.24) [7.89-19.62]    38.19 (9.31) [24.17-54.97]
```

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