
Last chance! 50% off unlimited learning
Sale ends in
raintest
performs the Rainbow-Tests on linearity.raintest(formula, data=list())
"htest"
containing the following components:lm
x <- c(1:30)
y <- x^2 + rnorm(30,0,2)
formular <- y ~ x
rain <- raintest(formular)
qf(0.95, rain$parameter[1], rain$parameter[2])
Run the code above in your browser using DataLab