clean_spct | R Documentation |
These functions implement the equivalent of replace() but for spectral objects instead of vectors.
clean_spct(x, range, range.s.data, fill, col.names, col.pattern = NULL, ...)
x |
an R object |
range |
numeric vector of wavelengths |
range.s.data |
numeric vector of length two giving the allowable range for the spectral data. |
fill |
numeric vector of length 1 or 2, giving the replacement values to use at each extreme of the range. |
col.names |
character The name of the variable to clean. |
... |
currently ignored |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.