part_R2s: Calculate part R2

Description Usage Arguments Value

View source: R/r2_helpers.R

Description

Calculate part R2

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
part_R2s(
  mod,
  expct,
  overdisp_name,
  R2_type,
  all_comb,
  partition,
  data_mod,
  allow_neg_r2
)

Arguments

mod

merMod object

expct

Expectation

overdisp_name

Name of overdispersion term

R2_type

"marginal" or "conditional"

all_comb

variable combinations to remove to calculate R2

partition

check if R2 partitioning is needed

data_mod

data.frame

allow_neg_r2

TRUE or FALSE

Value

R2, atm data.frame with one element


partR2 documentation built on Jan. 18, 2021, 5:06 p.m.