mean: calculate mean of multiple spectra

meanR 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.


colorSpec documentation built on May 29, 2024, 6 a.m.