Description Usage Arguments Value Author(s)
generates data from a one-way random effects ANOVA model.
1 | gen.data (ng, ns, moy, varg, vars)
|
ng |
the number of groups. |
ns |
the number of subject in each group. All groups have the same number of subjects. |
moy |
the overall mean. |
varg |
the variance of group means. |
vars |
the variance of subjects within groups. #' |
Returns a data frame with ng * ns rows, and two columns called "group" and "value", giving the group id for each subject (1 to ng), and the value for that subject.
Sewanou Honfo <honfosewanou@gmail.com> and Romain Glèlè Kakaï <glele.romain@gmail.com> / LABEF_07_2019
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.