MeanSpectrum: Mean spectrum

View source: R/spec-estimation.R

MeanSpectrumR Documentation

Mean spectrum

Description

Calculate the mean spectrum of all supplied individual spectra.

Usage

MeanSpectrum(speclist)

Arguments

speclist

a list of objects of class "spec", or lists with minimum components freq, spec and dof, that supply the spectra which are to be averaged.

Details

The mean spectrum is calculated as a simple average across all power spectral densities from the individual spectra. Degrees of freedom (dof) of the mean spectrum are obtained from the sum of the individual dof's at each frequency.

Value

an object of class "spec" with components freq, spec and dof.

Author(s)

Thomas Laepple, Thomas Münch


EarthSystemDiagnostics/proxysnr documentation built on Sept. 15, 2024, 7:47 a.m.