r.squared: R-squared and pseudo-rsquared for (generalized) linear...

View source: R/rsquaredglmm.R

r.squaredR Documentation

R-squared and pseudo-rsquared for (generalized) linear (mixed) models

Description

This generic function calculates the r squared and pseudo r-squared for a variety of(generalized) linear (mixed) model fits. Currently implemented for lm, lmerTest::merMod, and nlme::lme objects. Implementing methods usually call .rsquared.glmm

Usage

r.squared(mdl)

Arguments

mdl

a fitted (generalized) linear (mixed) model object

Value

Implementing methods usually return a dataframe with "Class", "Family", "Marginal", "Conditional", and "AIC" columns


Sz-Tim/sevcheck documentation built on Feb. 1, 2024, 12:39 a.m.