wm_opts: Set/get global webmorph options

wm_optsR Documentation

Set/get global webmorph options

Description

See wm_opts_defaults() for explanations of the default options.

Usage

wm_opts(...)

Arguments

...

One of four: (1) nothing, then returns all options as a list; (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), (4) a list with option-value pairs which sets all the corresponding arguments.

Value

a list of options, values of an option, or nothing

See Also

wm_opts_defaults()

Examples


wm_opts() # see all options

wm_opts("verbose") # see value of webmorph.verbose

## Not run: 
# set value of webmorph.verbose
wm_opts(verbose = FALSE) 

# set multiple options
opts <- list(fill = "black",
             pt.color = "white", 
             line.color = "red")
wm_opts(opts)

## End(Not run)


webmorphR documentation built on June 2, 2022, 5:07 p.m.