resample.Rd
Convenient wrapper around base R's splinefun
and approxfun
. See
stats::splinefun()
and stats::approxfun()
documentation for information
on different spline methods and additional arguments.
resample(values, ...) # S3 method for default resample(values, from, to, method = "fmm", ...) # S3 method for matrix resample(values, from, to, ...) # S3 method for spectra resample(values, to, ...)
values | Vector or matrix of values, or object of class |
---|---|
... | Additional arguments to |
from | X values for interpolation (for |
to | Y values onto which to interpolate. For |
method | One of the methods for |
Object of the same class as values
, resampled to the to
values.