aselect: AIC Model selection

model_selectionR Documentation

AIC Model selection

Description

do linear model from data and y, and use AIC selection to choose min aic value model return.

Usage

aselect(y, data)

Arguments

y

y of linear model, a strain variable

data

all x of linear model, independent variable

Examples

y <- iris[,1]
x <- iris[,2:4]
fit <- aselect(y=y, data=x)
summary(fit)

hans0803/APLM documentation built on June 17, 2024, 5:22 a.m.