Learn R Programming

hyperSpec (version 0.98-20150304)

hy.getOptions: Options for package hyperSpec Functions to access and set hyperSpec's options.

Description

Currently, the following options are defined:
Name Default Value (range) Description
Used by debuglevel \ tab 0 (1L 2L) amount of debugging information produced
spc.identify map.identify
various file import functions gc FALSE
triggers frequent calling of gc () read.ENVI, new ("hyperSpec") file.remove.emptyspc
TRUE remove empty spectra directly on file import various file import functions
file.keep.name TRUE always create filename column
various file import functions tolerance sqrt (.Machine$double.eps)
tolerance for numerical comparisons normalize01, file import: file.remove.emptyspc Name

Usage

hy.getOptions(...)
hy.getOption(name)
hy.setOptions(...)

Arguments

...
hy.setOptions: pairs of argument names and values.

hy.getOptions: indices (or names) of the options.

name
the name of the option

Value

hy.getOptions
returns a list of all options
hy.setOptions
invisibly returns a list with the options
hy.getOption
returns the value of the requested option

Details

hy.setOptions will discard any values that were given without a name.

Examples

Run this code
hy.getOptions ()

Run the code above in your browser using DataLab