Learn R Programming

partR2 (version 0.9.2)

R2_pe: Calculate R2

Description

Calculate R2

Usage

R2_pe(mod, expct, overdisp_name, R2_type)

Value

data.frame with one element, R2

Arguments

mod

merMod object

expct

Expectation

overdisp_name

Name of overdispersion term

R2_type

"marginal" or "conditional"