simpmod | R Documentation |
Simplifies models based on the residual sum of squares
simpmod(M, alpha=0.05)
M |
A lm, glm. |
alpha |
Crital value to reject the null hypothis when less than or equal to 0.05, the default value.. |
Returns a list of simplification steps up to the sipliest model in a list object.
Guevara, R., roger.guevara@inecol.mx
Crawley, the R book
y <- sort(rnorm(20, 5, 2))
x <- c(1:20)
M <- lm(y~x)
simpmod(M)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.