Skip to contents

This function fits a simple linear model of the response against the fitted values from a mixed effects model and returns the R-squared.

Usage

r2.corr.mer(m)

Arguments

m

A mixed effects model (e.g., from lme4).

Value

R-squared value.