Displaying 1 result from an estimated 1 matches for "22step".
Did you mean:
2step
2009 Jun 23
1
How to exclude insignificant intercepts using "step" function
...ot;x2"]+rnorm(100,0,0.05),grp=rep("C",100))
data2 <- rbind(d1,d2,d3)
# Fit each surface by grp
model <- y ~ x1*x2
by(data2, data2$grp, function(x) {step(lm(model, data=x))})
--
View this message in context: http://www.nabble.com/How-to-exclude-insignificant-intercepts-using-%22step%22-function-tp24158818p24158818.html
Sent from the R help mailing list archive at Nabble.com.