Description Usage Arguments Examples
Generates the variance components and the relative magnitude (percent of total variance) of each variance component.
1 |
x |
A gstudy object |
n |
A vector with facets named |
unit |
The label for the unit of measurement |
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## One facet design
one.facet <- lmer(Score ~ (1 | Participants) + (1 | Items), data = efData)
one.facet.gstudy <- gstudy(one.facet)
dstudy(one.facet.gstudy, n = c("Items" = 4), unit = "Participants")
## Two facet design
two.facet <- lmer(scores ~ (1 | students) + (1 | prompts) + (1 | raters) + (1 | students:prompts) + (1 | students:raters) + (1 | prompts:raters), data = writing)
two.facet.gstudy <- gstudy(two.facet)
dstudy(two.facet.gstudy, n = c("raters" = 2, "prompts" = 5), unit = "students")
## Two facet fixed design wtih prompt
gstudy.fixed.prompt <- gstudy(two.facet, fixed = "prompts")
dstudy(gstudy.fixed.prompt, n = c("raters" = 2), unit = "students")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.