Global afex options are used, for example, by aov_car (et al.) and mixed. But can be changed in each functions directly using an argument (which has precedence over the global options).
Usage
afex_options(...)
Arguments
...
One of three: (1) nothing, then returns all options; (2) a name of an option element, then returns its' value; (3) a name-value pair which sets the corresponding option to the new value (and returns nothing).
Value
depends on input, see above.
Details
The following arguments are currently set:
check.contrastsshould contrasts be checked and changed to sum-to-zero contrasts? Default isTRUE.
typetype of sums-of-squares to be used for testing effects, default is 3 which reports Type 3 tests.
method_mixed: Method used to obtain p-values inmixed, default is"KR"(which will change to"LRT"soon). (mixed()only)
return_aov: Return value of the ANOVA functions (seeaov_car), default is"nice".
es_aov: Effect size reported for ANOVAs (seeaov_car), default is"ges"(generalized eta-squared).
correction_aov: Correction used for within-subjects factors with more than two levels for ANOVAs (seeaov_carornice), default is"GG"(Greenhouse-Geisser correction). (ANOVA functions only)
factorize: Should between subject factors be factorized (with note) before running the analysis? Default isTRUE. (ANOVA functions only)