Learn R Programming

hyperSpec (version 0.100.2)

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

Description

Currently, the following options are defined:

NameDefault Value (range)DescriptionUsed by
debuglevel0 (1L 2L 3L)amount of debugging information producedspc.identify map.identify
various file import functions
spc.fit.poly.below
gcFALSEtriggers frequent calling of gc ()read.ENVI, new ("hyperSpec")
file.remove.emptyspcTRUEremove empty spectra directly on file importvarious file import functions
file.keep.nameTRUEalways create filename columnvarious file import functions
tolerancesqrt (.Machine$double.eps)tolerance for numerical comparisonsnormalize01, file import: file.remove.emptyspc
wl.tolerancesqrt (.Machine$double.eps)tolerance for comparisons of the wavelength axisall.equal, collapse, rbind
plot.spc.nmax25number of spectra to be plotted by defaultplotspc
ggplot.spc.nmax10qplotspc

Usage

hy.getOptions(...)

hy.getOption(name)

hy.setOptions(...)

Value

hy.getOptionsreturns a list of all options
hy.setOptionsinvisibly returns a list with the options
hy.getOptionreturns the value of the requested option

Arguments

...

hy.setOptions: pairs of argument names and values.

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

name

the name of the option

Author

C. Beleites

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