getopt {relevance}R Documentation

Get Option that Influence the Output of Relevance Functions

Description

Get options that set relevance thresholds and select columns of output tables to be shown as well as other items influencing output

Usage

  getopt(x, opt = NULL)

Arguments

x

character (vector): name(s) of option(s) to query

opt

the list of options from which the option should be obtained. The effective default is a list of defaults obtained by relevance:::optdefault

Value

The current value of the option (NULL if such an option is not defined). If x contains several (valid) names, the respective list is returned.

Note

options can be changed by setting them through the standard options function, see Examples.

Note

In contrast to the options of R base, the .regroptions list is stored on the .GlobalEnv (if any component is changed) and will be recovered if the latter is stored and loaded again.

Author(s)

Werner A. Stahel

See Also

options()

Examples

getopt("na.print")

## set options
options(digits=3, termcolumns=c("coef", "stcoef", "df", "signif", "p.symb"))
getopt("termcolumns") ## same as getOption("termcolumns")

[Package relevance version 1.0 Index]