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

Description Usage Arguments Value

View source: R/rsquaredglm.R

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

1
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


GabrielPigeon/gabtool documentation built on May 6, 2019, 5:32 p.m.