setMultipleWl | R Documentation |
Function to set by reference the multiple.wl
attribute of an existing
generic_spct
object or an object of a class derived from
generic_spct
.
setMultipleWl(x, multiple.wl = NULL)
multiple_wl(x) <- value
x |
a generic_spct object |
multiple.wl , value |
numeric >= 1 If |
These methods set the attribute multiple.wl
and if the
argument of multiple.wl
or value
is NULL
, they call
findMultipleWl
to obtain a guess. Pathological cases where
multiple spectra in long form do not share any wavelength value underestimate
the number of spectra, and require an explicit numeric argument. Calling
these methods is very rarely needed in user code.
x
, modified in place by reference. If x is not a
generic_spct
or an object of a class derived from
generic_spct
, x
is not modified.
Other multiple.wl attribute functions:
getMultipleWl()
my.spct <- sun.spct
setMultipleWl(my.spct) # default is to search x, here my.spct
getMultipleWl(my.spct)
multiple_wl(my.spct) <- 1L # must be a valid value or NULL!
multiple_wl(my.spct)
multiple_wl(my.spct) <- NULL # must be a valid value or NULL!
multiple_wl(my.spct)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.