spec.denoise {colourvision}R Documentation

Smooth function for reflectance spectra.

Description

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

Usage

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

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.

Value

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

Author(s)

Felipe M. Gawryszewski f.gawry@gmail.com


[Package colourvision version 2.0.4 Index]