Roszman1 {NISTnls} | R Documentation |
The Roszman1
data frame has 25 rows and 2 columns of data on the
number of quantum defects in iodine atoms at different energy states.
y |
A numeric vector of number of quantum defects. |
x |
A numeric vector of the excited energy state. |
This data frame contains the following columns:
These data are the result of a NIST study involving quantum defects in iodine atoms. The response variable is the number of quantum defects, and the predictor variable is the excited energy state. The argument to the ARCTAN function is in radians.
Roszman, L., NIST (19??). Quantum Defects for Sulfur I Atom.
library(NISTnls) data(Roszman1) plot(y ~ x, data = Roszman1) fm1 <- nls(y ~ b1 - b2*x - atan(b3/(x-b4))/pi, data = Roszman1, start = c(b1 = 0.1, b2 = -0.00001, b3 = 1000, b4 = -100), trace = TRUE) fm2 <- nls(y ~ b1 - b2*x - atan(b3/(x-b4))/pi, data = Roszman1, start = c(b1 = 0.2, b2 = -0.0000015, b3 = 1200, b4 = -150), trace = TRUE)