Rdocumentation
powered by
Learn R Programming
colorSpec (version 0.5-2)
mean: calculate mean of multiple spectra
Description
compute mean of all spectra in a
colorSpec
object
Usage
## S3 method for class 'colorSpec': mean( x, ... )
Arguments
x
a colorSpec object
...
further arguments ignored
Value
a
colorSpec
object with single spectrum = average of all spectra in
colorSpec
.
Details
This function might be useful when capturing many spectra on a spectrometer and averaging them to reduce noise.