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

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

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

Color Calculations with Emphasis on Spectral Data

v1.2-1
GPL (>= 3)
Authors
Glenn Davis [aut, cre]
Initial release
2020-04-01

We don't support your browser anymore

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