Learn R Programming

colourvision (version 2.1.0)

spec.denoise: Smooth function for reflectance spectra.

Description

Applies a smooth.spline for data frame containing spectrometric data.

Usage

spec.denoise(specfiles, spar = 0.7, ...)

Value

A data frame with first column representing wavelength values and following columns with reflectance data.

Arguments

specfiles

A data frame with first column representing wavelength values and following columns with reflectance data.

spar

see smooth.spline. Smoothing parameter, typically (but not necessarily) in (0,1].

...

Other arguments passed to function smooth.spline.

Author

Felipe M. Gawryszewski f.gawry@gmail.com