Description Usage Arguments Value Author(s) See Also Examples
The function makes sure that a mask is a vector along a given wavelength vector, converting input such as a file name or a data.frame.
1 | convert.mask(x, mask)
|
x |
a wavelength vector or an object of class |
mask |
Normally the name of a file or of a
|
a logical vector along the wavelength vector x
or
x$lambda
, with TRUE
for pixels outside the wavelength
regions given by mask
Oliver Czoske
1 2 3 | lambda <- seq(3750, 5000, by=5)
mask.df <- data.frame(x1=c(4000, 4500), x2=c(4050, 4600))
mask <- convert.mask(lambda, mask.df)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.