| repeated_measures_anova | R Documentation |
Conduct a repeated-measures analysis of variance (ANOVA). This analysis will be appropriate for within-subjects experimental design.
repeated_measures_anova( data = NULL, p_col_name = NULL, measure_vars = NULL, histograms = TRUE, round_w = 2, round_epsilon = 2, round_df_model = 2, round_df_error = 2, round_f = 2, round_ges = 2 )
data |
a data object (a data frame or a data.table) |
p_col_name |
name of the column identifying participants |
measure_vars |
names of the columns containing repeated measures (within-subjects variables) |
histograms |
logical. If |
round_w |
number of decimal places to which to round W statistic from Mauchly's test (default = 2) |
round_epsilon |
number of decimal places to which to round the epsilon statistic from Greenhouse-Geisser or Huynh-Feldt correction (default = 2) |
round_df_model |
number of decimal places to which to round the corrected degrees of freedom for model (default = 2) |
round_df_error |
number of decimal places to which to round the corrected degrees of freedom for error (default = 2) |
round_f |
number of decimal places to which to round the F statistic (default = 2) |
round_ges |
number of decimal places to which to round generalized eta-squared (default = 2) |
The following package(s) must be installed prior to running the function: Package 'ez' v4.4-0 (or possibly a higher version) by Michael A Lawrence (2016), https://cran.r-project.org/package=ez
## Not run:
repeated_measures_anova(
data = mtcars, p_col_name = "cyl", measure_vars = c("wt", "qsec"))
## End(Not run)