Sacch2: Pharmacokinetics of saccharin

Description Format Source Examples

Description

The Sacch2 data frame has 10 rows and 2 columns from an experiment on the pharmacokinetics of saccharin.

Format

This data frame contains the following columns:

time

a numeric vector giving the time since drug administration (min).

conc

a numeric vector giving the observed concentration of saccharin.

Source

Bates and Watts (1998), Nonlinear Regression Analysis and Its Applications, Wiley (Appendix A1.5).

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
str(Sacch2)
xyplot(conc ~ time, Sacch2, type = c("g", "b"),
     xlab = "Time since drug administration (min)",
     ylab = "Saccharin concentration", aspect = "xy")
xyplot(conc ~ time, data = Sacch2, type = c("g", "b"),
     scales = list(y = list(log = 2)), aspect = 'xy',
     xlab = "Time since drug administration (min)",
     ylab = "Saccharin concentration")
## Not run: 
fm1 <- nls(conc ~ SSfol(1.0, time, lKe, lKa, lCl), data = Sacch2)
summary(fm1)
xpred <- seq(0, 140, len = 51)
ypred <- predict(fm1, list(time = xpred, Dose = rep(1.0, length(xpred))))
lines(xpred, ypred)

## End(Not run)

NRAIA documentation built on May 2, 2019, 4:52 p.m.

Related to Sacch2 in NRAIA...