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).
1 
... 
One of three: (1) nothing, then returns all options; (2) a name of an option element, then returns its' value; (3) a namevalue pair which sets the corresponding option to the new value (and returns nothing). 
The following arguments are currently set:
check.contrasts
should contrasts be checked and changed to sumtozero contrasts? Default is TRUE
.
type
type of sumsofsquares to be used for testing effects, default is 3 which reports Type 3 tests.
method_mixed
: Method used to obtain pvalues in mixed
, default is "KR"
(which will change to "LRT"
soon). (mixed()
only)
return_aov
: Return value of the ANOVA functions (see aov_car
), default is "nice"
.
es_aov
: Effect size reported for ANOVAs (see aov_car
), default is "ges"
(generalized etasquared).
correction_aov
: Correction used for withinsubjects factors with more than two levels for ANOVAs (see aov_car
or nice
), default is "GG"
(GreenhouseGeisser correction). (ANOVA functions only)
factorize
: Should between subject factors be factorized (with note) before running the analysis? Default is TRUE
. (ANOVA functions only)
depends on input, see above.
1 2 3 4 5 6 7 8 9 10  afex_options()
afex_options("return_aov")
afex_options("return_aov", "check.contrasts") # returns only first value!
## Not run:
afex_options(return_aov = "nice")
## End(Not run)

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.