distrMod (version 2.0.1)

distrModOptions: Function to change the global variables of the package `distrMod'

Description

With distrModOptions you can inspect and change the global variables of the package distrMod.

Usage

distrModOptions(...)
getdistrModOption(x)
distrModoptions(...)

Arguments

...
any options can be defined, using name = value or by passing a list of such tagged values.
x
a character string holding an option name.

Value

  • distrModoptions() returns a list of the global options of distrMod. distrModoptions("show.details") returns the global option show.details as a list of length 1. distrModoptions("show.details" = "minimal") sets the value of the global option show.details to "minimal". getdistrModOption("show.details") the current value set for option show.details.

distrModoptions

For compatibility with spelling in package distr, distrModoptions is just a synonym to distrModoptions.

concept

  • global options
  • options

Details

Invoking distrModoptions() with no arguments returns a list with the current values of the options. To access the value of a single option, one should use getdistrModOption("show.details"), e.g., rather than distrModoptions("show.details") which is a list of length one.

See Also

options, getOption, distroptions, getdistrOption

Examples

Run this code
distrModoptions()
distrModoptions("show.details")
distrModoptions("show.details" = "maximal")
distrModOptions("show.details" = "minimal")
# or
getdistrModOption("show.details")

Run the code above in your browser using DataLab