gstudy: Generate the variance components from a G-study

Description Usage Arguments Examples

View source: R/gstudy.R

Description

Generates the variance components and the relative magnitude (percent of total variance) of each variance component.

Usage

1
gstudy(x, fixed = NULL)

Arguments

x

An lmer fitted object

Examples

1
2
3
4
5
6
one.facet <- lmer(Score ~ (1 | Participants) + (1 | Items), data = efData)
two.facet <- lmer(scores ~ (1 | students) + (1  | prompts) + (1 | raters) + (1 | students:prompts) +  (1 | students:raters) + (1 | prompts:raters), data = writing)
gstudy(one.facet)
gstudy(two.facet)
# Two facet with prompts fixed
gstudy(two.facet, fixed = "prompts")

cddesja/hemp documentation built on April 7, 2021, 9:24 p.m.