This functions allows you to perform a one way repeated measures ANOVA,
making adjustments for violations of sphericity, with no dependencies
related to {afex} or {car} packages.
Usage
rm_anova(
data,
x,
y,
is_spherical,
adjust,
effsize.type = "omega",
conf.level = 0.95,
character.only = FALSE,
...
)Arguments
- data
Data frame from which
xandy(and possiblyrowidif provided) will be searched.- x
Character name for the grouping factor. Must be present in data
- y
Character name for the response variable. Must be present in data.
- is_spherical
Logical. checks whether to assume that the sphericity assumptions holds or not, if missing (the default) it will be tested using mauchly test with a threshold of 0.05.
- adjust
Character. correction for sphericity to be applied, it can be any character of length one starting with 'g' (indicating Greenhouse–Geisser correction) or 'h' (indicating Huynh–Feldt correction).
- effsize.type
Options are
"unbiased"or"omega"for partial omega squared and"biased"or"eta"for partial eta squared as a measure of effect size. For non-parametric analysis, Kendalls' W is used for paired designs, where rank epsilon squared is used for independent groups designs.- conf.level
Confidence/Credible Interval (CI) level. Default to 0.95 (95%).
- character.only
Logical. checks whether to use the unevaluated expression or its content (when TRUE), asumming is a character vector. Defaults to
FALSE.- ...
Currently not used.
