mean {colorSpec} | R Documentation |
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 |
Details
This function might be useful when capturing many spectra on a spectrometer and averaging them to reduce noise.
Value
a colorSpec object with single spectrum = average of all spectra in colorSpec.
[Package colorSpec version 1.5-0 Index]