xset_fitstats: Log-likelihood, AIC and BIC across an 'xpose_set'

logLik.xpose_setR Documentation

Log-likelihood, AIC and BIC across an xpose_set

Description

[Experimental]

If no base model is provided, and if lineage is unclear, the first model in the xpose_set is used as the base model, exactly as in <diff.xpose_set>. Unlike diff(), values are not differenced, so a straightforward model-to-model comparison is possible.

As with the xpose_data methods, a component model that is itself a model-averaged ("franken") object will cause an error.

Usage

## S3 method for class 'xpose_set'
logLik(object, ...)

## S3 method for class 'xpose_set'
AIC(object, ..., k = 2)

## S3 method for class 'xpose_set'
BIC(object, ...)

Arguments

object

<xpose_set> object

...

<dynamic-dots> Passed to <xset_lineage>. .spinner=FALSE can also be set here.

k

<numeric> Penalty per parameter, as in <stats::AIC>.

Value

<numeric> vector, or list thereof, following <xset_lineage>.


xpose.xtras documentation built on Sept. 1, 2026, 5:08 p.m.