AICc {DBModelSelect}R Documentation

Corrected AIC for linear models

Description

Calculates corrected AIC for an 'lm' linear model object.

Usage

AICc(model)

Arguments

model

A fitted 'lm' object.

Value

The numeric value of of corrected AIC for the supplied linear model object.

Examples

#generate data
set.seed(9122023)
data <- data.frame(x = rnorm(100), y = rnorm(100))
AICc(lm(y~x, data = data))


[Package DBModelSelect version 0.2.0 Index]