Description Format Source Examples
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:
a numeric vector of time since drug administration (hr).
a numeric vector of tetracycline concentrations.
Bates and Watts (1998), Nonlinear Regression Analysis and Its Applications, Wiley (Appendix A1.5).
1 2 3 4 5 6 7 8 9 | 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)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.