getOpt: Manipulate the options

Description Usage Arguments Value Examples

View source: R/getOpt.R

Description

functions to manipulate the options.

Usage

1
2
3
getOpt(opt = c("a", "b"))

setOpt(a, b)

Arguments

opt

a possible value indicating the option(s) to return

a

the value for option a

b

the value for option b

Value

in case of setOpt the old options. In case of getOpt, the options.

Examples

1
2
3
4
5
getOpt()
getOpt("b")

setOpt( a = "another value")
getOpt("a")

JoFAM/OptionExample documentation built on May 24, 2019, 7:13 a.m.