"Rats" Data Frame in PK R Package

Q

What Is the "Rats" Data Frame in PK R Package?

✍: Guest

A

"Rats" is an example data frame for drug concentrations measured after a single oral dose in female rats.

1. Install and load PK:

> install.packages("PK")

> library(PK)
 **********   PK Version 1.3-5********** 

2. List data in "Rats":

> Rats
    id    conc time dose
1    1  0.0000    0  100
2    2  0.0000    0  100
3    3  0.0000    0  100
4    1  1.7500    1  100
5    2  2.2000    1  100
6    3  1.5800    1  100
7    1  4.6300    6  100
...
122 53  5.6200    4 1000
123 54  4.4800    4 1000
124 52  0.5010   24 1000
125 53  0.3730   24 1000
126 54  0.0510   24 1000

3. Get a sub-set for dose==300:

> r300 = subset(Rats, Rats$dose==300)

> r300 
   id   conc time dose
22 10 0.0000    0  300
23 11 0.0000    0  300
24 12 0.0000    0  300
25 10 3.2100    1  300
26 11 2.0100    1  300
27 12 2.7300    1  300
28 10 3.2500    6  300
29 11 3.3100    6  300
30 12 2.2200    6  300
31 13 3.7600    2  300
32 14 3.9100    2  300
33 15 4.3700    2  300
34 13 1.6600   10  300
35 14 6.8300   10  300
36 15 2.9800   10  300
37 16 2.1400    4  300
38 17 4.0300    4  300
39 18 2.7800    4  300
40 16 0.0294   24  300
41 17 1.0000   24  300
42 18 0.2900   24  300

 

⇒ auc() Function in PK R Package

⇐ What Is PK R Package

⇑ PK (Pharmacokinetic) Modeling Tools

⇑⇑ PK/PD Tutorials

2021-05-04, 236👍, 0💬