Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

clean_spct

Clean a spectrum


Description

These functions implement the equivalent of replace() but for spectral objects instead of vectors.

Usage

clean_spct(x, range, range.s.data, fill, col.names, col.pattern = NULL, ...)

Arguments

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


photobiology

Photobiological Calculations

v0.10.10
GPL (>= 2)
Authors
Pedro J. Aphalo [aut, cre] (<https://orcid.org/0000-0003-3385-972X>), Titta K. Kotilainen [ctb] (<https://orcid.org/0000-0002-2822-9734>), Glenn Davis [ctb], Agnese Fazio [ctb]
Initial release
2022-03-24

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.