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
)
a data object (a data frame or a data.table)
name of the column identifying participants
names of the columns containing repeated measures (within-subjects variables)
logical. If histograms = TRUE
, histograms
of the repeated measures will be plotted. If histograms = FALSE
,
no histograms will be plotted.
number of decimal places to which to round W statistic from Mauchly's test (default = 2)
number of decimal places to which to round the epsilon statistic from Greenhouse-Geisser or Huynh-Feldt correction (default = 2)
number of decimal places to which to round the corrected degrees of freedom for model (default = 2)
number of decimal places to which to round the corrected degrees of freedom for error (default = 2)
number of decimal places to which to round the F statistic (default = 2)
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
if (FALSE) {
repeated_measures_anova(
data = mtcars, p_col_name = "cyl", measure_vars = c("wt", "qsec"))
}
Run the code above in your browser using DataLab