ErrorComponents {ImpuR}R Documentation

Estimate noise (as a function of wavelength) and heteroscedasticity

Description

Crude estimation of noise (as a function of wavelength) and heteroscedasticity of a spectime object. Uses singular value decomposition to approximate the signal.

Usage

ErrorComponents(object, err.win = 1:10, nerr = 3, nfit = 5, df = 10)

Arguments

object a spectime object
err.win the times (rows) to use to estimate the noise
nerr the number of svd components to estimate the noise
nfit the number of svd components to estimate the heteroscedasticity
df degrees of freedom for smoothing of noise function

Value

a spectime object in which the slots @std.err and @hetero are filled in

Note

Somewhat crude.

Author(s)

Christian Ritter

See Also

PeakPurity


[Package ImpuR version 1.0 Index]