afex_options: Set/get global afex options

Description Usage Arguments Details Value Examples

Description

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

1

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).

Details

The following arguments are currently set:

Value

depends on input, see above.

Examples

 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)

afex documentation built on May 2, 2019, 6:08 p.m.