R/plotsmooth.R
plotsmooth.Rd
Plots spectral curves with various levels of loess smoothing to help decide which loess parameters are best for subsequently smoothing the data (e.g. via procspec
).
plotsmooth(rspecdata, minsmooth = 0.05, maxsmooth = 0.2, curves = 5, specnum = 0, ask = TRUE)
rspecdata |
(required) a data frame, possibly of class |
---|---|
minsmooth |
the minimum f value of the loess function to visualize (defaults to |
maxsmooth |
the maximum f value of the loess function to visualize (defaults to |
curves |
the number of curves to display on the same plot (defaults to |
specnum |
the number of spectral curves, from the data frame, to visualize (defaults to |
ask |
logical. if |
Series of plot with curves processed with varying level of loess smoothing
# NOT RUN { data(sicalis) plotsmooth(sicalis, minsmooth = 0.05, maxsmooth = 0.1, curves = 7, specnum = 6) # }