| sboptions {scaleboot} | R Documentation |
To set and examine global options for scaleboot package.
sboptions(x, value)
x |
character of an option name. |
value |
When specified, this value is set. |
Invoking sboptions() with no arguments returns a list with the
current values of the options. Otherwise it returns option(s) with name(s)
specified by x. When value is specified, it is
set to the option named x.
Hidetoshi Shimodaira
sboptions() # show all the options
sboptions("models") # show the default model names
new.models <- sbmodelnames(m=1:2) # character vector c("poly.1","poly.2")
old.models <- sboptions("models",new.models) # set the new model names
sboptions("models") # show the default model names
sboptions("models",old.models) # set back the default value
sboptions("models") # show the default model names