simpmod: Model simplification

View source: R/simpmod.r

simpmodR Documentation

Model simplification

Description

Simplifies models based on the residual sum of squares

Usage

simpmod(M, alpha=0.05)

Arguments

M

A lm, glm.

alpha

Crital value to reject the null hypothis when less than or equal to 0.05, the default value..

Value

Returns a list of simplification steps up to the sipliest model in a list object.

Author(s)

Guevara, R., roger.guevara@inecol.mx

References

Crawley, the R book

Examples


y <- sort(rnorm(20, 5, 2))
x <- c(1:20)
M <- lm(y~x)
simpmod(M)

inecolr documentation built on June 8, 2025, 11:26 a.m.

Related to simpmod in inecolr...