agg_model_fit: Summary table of model fit

View source: R/Fit-Functions.R

agg_model_fitR Documentation

Summary table of model fit

Description

Summary table of model fit aggregated over k-folds

Usage

agg_model_fit(kfits, index = "all", digits = 2)

Arguments

kfits

an object returned from k_model_fit when by.folds = TRUE

index

character; one or more fit indices to summarize. Indices must be present in the kfits object. Default is "all" indices present in kfits. Chi-square value and degrees of freedom are always reported.

digits

integer; number of decimal places to display in the report

Value

data.frame of aggregated model fit statistics

Examples

data(example.kfa)
fits <- k_model_fit(example.kfa, by.fold = TRUE)
agg_model_fit(fits)


kfa documentation built on March 18, 2022, 5:26 p.m.