getopt {relevance} | R Documentation |
Get options that set relevance thresholds and select columns of output tables to be shown as well as other items influencing output
getopt(x, opt = NULL)
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
|
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.
options can be changed by setting them through the standard
options
function, see Examples.
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.
Werner A. Stahel
options()
getopt("na.print") ## set options options(digits=3, termcolumns=c("coef", "stcoef", "df", "signif", "p.symb")) getopt("termcolumns") ## same as getOption("termcolumns")