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

View source: R/rsquaredglmm.R

r.squared.merModR Documentation

Marginal and conditional r-squared for merMod objects

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

## 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)


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