sboptions {scaleboot}R Documentation

Options for Multiscale Bootstrap

Description

To set and examine global options for scaleboot package.

Usage

sboptions(x, value)

Arguments

x

character of an option name.

value

When specified, this value is set.

Details

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.

Author(s)

Hidetoshi Shimodaira

Examples

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

[Package scaleboot version 1.0-1 Index]