glance.CR2: Glance at goodness-of-fit statistics

View source: R/tidy_CR2.R

glance.CR2R Documentation

Glance at goodness-of-fit statistics

Description

Helper function used to obtain supporting fit statistics for multilevel models. The R2s are computed using the 'performance' package.

Usage

## S3 method for class 'CR2'
glance(x, ...)

Arguments

x

A 'CR2' object.

...

Unused, included for generic consistency only.

Value

glance returns one row with the columns:

nobs

the number of observations

sigma

the square root of the estimated residual variance

logLik

the data's log-likelihood under the model

AIC

Akaike Information Criterion

BIC

Bayesian Information Criterion

r2.marginal

marginal R2 based on fixed effects only using method of Nakagawa and Schielzeth (2013)

r2.conditional

conditional R2 based on fixed and random effects using method of Nakagawa and Schielzeth (2013)


MLMusingR documentation built on May 29, 2024, 7:35 a.m.