Misra1a {NISTnls} | R Documentation |
The Misra1a
data frame has 14 rows and 2 columns.
y |
A numeric vector of volume values. |
x |
A numeric vector of pressure values. |
This data frame contains the following columns:
These data are the result of a NIST study regarding dental research in monomolecular adsorption. The response variable is volume, and the predictor variable is pressure.
Misra, D., NIST (1978). Dental Research Monomolecular Adsorption Study.
library(NISTnls) data(Misra1a) plot(y ~ x, data = Misra1a) fm1 <- nls(y ~ b1*(1-exp(-b2*x)), data = Misra1a, trace = TRUE, start = c(b1 = 500, b2 = 0.0001) ) fm2 <- nls(y ~ b1*(1-exp(-b2*x)), data = Misra1a, trace = TRUE, start = c(b1 = 250, b2 = 0.0005) ) fm3 <- nls(y ~ 1-exp(-b2*x), data = Misra1a, trace = TRUE, start = c(b2 = 0.0001), algorithm = "plinear" ) fm4 <- nls(y ~ 1-exp(-b2*x), data = Misra1a, trace = TRUE, start = c(b2 = 0.0005), algorithm = "plinear" ) ## Using a self-starting model fm5 <- nls(y ~ SSasympOrig(x, Asym, lrc), data = Misra1a)