r.squared.merMod: Marginal and conditional r-squared for merMod objects

Description Usage Arguments

View source: R/rsquaredglm.R

Description

This method extracts the variance for fixed and random effects, residuals, and the fixed effects for the null model (in the case of Poisson family), and calls .rsquared.glmm

Usage

1
2
## S3 method for class 'merMod'
r.squared(mdl)

Arguments

mdl

an merMod model (usually fit using lme4::lmer, lme4::glmer, lmerTest::lmer, blme::blmer, blme::bglmer, etc)


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