Description Usage Arguments See Also Examples
Plots multiple d studies for one or two-facet design.
1 | dstudy_plot(x, unit, facets, g_coef = T, bw = F)
|
x |
object of class |
unit |
the name of the unit of measurement |
facets |
A list of length 1 (one-facet) or 2 (two-facet). If two-facet plot, then the second facet is the grouping variable. |
g_coef |
Plot the generalizability coefficent? If FALSE, plot the dependability coefficient. |
bw |
logical. Make the plot black and white? Default is FALSE. |
1 2 3 4 5 6 7 8 9 | ## One facet
one_facet <- lmer(Score ~ (1 | Participants) + (1 | Items), data = efData)
dstudy_plot(one_facet, unit = "Participants", facets = list(Items = c(8, 20, 30, 40)))
dstudy_plot(one_facet, unit = "Participants", facets = list(Items = c(8, 20, 30, 40)), g_coef = F)
## Two facet
two_facet <- lmer(score ~ (1 | child) + (1 | raters) + (1 | occasions) + (1 | child:raters) + (1 | child:occasions) + (1 | raters:occasions), data = swtab1.3)
dstudy_plot(two_facet, unit = "child", facets = list(raters = 1:4, occasions = 1:4))
dstudy_plot(two_facet, unit = "child", facets = list(raters = 1:4, occasions = 1:4), g_coef = F)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.