Tetra {NRAIA} | R Documentation |
The Tetra
data frame has 9 rows and 2 columns from an experiment
on the pharmacokinetics of tetracycline.
This data frame contains the following columns:
Bates and Watts (1998), Nonlinear Regression Analysis and Its Applications, Wiley (Appendix A1.5).
plot(conc ~ time, data = Tetra, las = 1, xlab = "Time since drug administration (hr)", ylab = "concentration", main = "Tetracycline data with fitted curve") fm1 <- nls(conc ~ SSfol(1.0, time, lKe, lKa, lCl), Tetra) summary(fm1) usr <- par("usr") xx <- seq(usr[1], usr[2], len = 101) lines(xx, predict(fm1, list(time = xx)))