report.anova | R Documentation |
This function conducts one-way ANOVAs for each of the provided interval variables, with a specified ordinal variable as a factor. It reports group means for each level of the ordinal variable, ANOVA test statistics, and optionally, omega squared effect sizes.
report.anova(catVarName, numVarNames, data, omegaSq = FALSE)
catVarName |
A string representing the name of the ordinal factor variable in the data frame. |
numVarNames |
A vector of strings representing the names of the interval variables in the data frame. |
data |
A data frame or an object of class |
omegaSq |
Logical, if |
A matrix with rows representing each specified interval variable, and columns representing: 1) means for each level of the ordinal factor (one column per level), 2) F-statistic, 3) degrees of freedom 1 (df1), 4) degrees of freedom 2 (df2), 5) p-value, 6) optionally, omega squared effect size.
Marjan Cugmas
Kirk, R. E. (1996). Practical significance: A concept whose time has come. Educational and psychological measurement, 56(5), 746-759. Tunks, T. (1978). The use of omega squared in interpreting statistical significance. Bulletin of the Council for Research in Music Education, 28-34.
report.anova(catVarName = "gear", numVarNames = c("mpg", "wt"),
data = mtcars, omegaSq = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.