Rumford {NRAIA} | R Documentation |
The Rumford
data frame has 13 rows and 2 columns from an
experiment by Count Rumford on the rate of cooling.
This data frame contains the following columns:
Bates and Watts (1998), Nonlinear Regression Analysis and Its Applications, Wiley (Appendix A1.5).
plot(temp ~ time, Rumford, las = 1, xlab = "Time since beginning of experiment (hr)", ylab = "Temperature of cannon (degrees F)", main = "Rumford data and fitted curve") fm1 <- nls(temp ~ 60 + 70 * exp(tc * time), data = Rumford, start = c(tc = -0.01)) summary(fm1) usr <- par("usr") xx <- seq(usr[1], usr[2], len = 50) lines(xx, predict(fm1, list(time = xx)))