AIC_table: Produce a Concise AICc Table

View source: R/utils.R

AIC_tableR Documentation

Produce a Concise AICc Table

Description

Produce a Concise AICc Table

Usage

AIC_table(fit_list, digits = 3)

Arguments

fit_list

list of fitted model objects of class lm, generally the output of fit_all_subsets_one().

digits

Numeric value controlling the number of decimal places to round to. Passed to base::round() for "delta" and KuskoHarvUtils::smart_round() for model weights. Defaults to 3.

Value

data.frame with columns:

  • terms: the right-hand-side of each fitted model formula; from get_formula().

  • K: the number of parameters in each fitted model; from count_params().

  • delta: the difference in AICc scores between each model and the lowest AICc model.

  • wt: the model weight; from get_wt().


bstaton1/KuskoHarvPred documentation built on Aug. 15, 2024, 3:30 p.m.