Usage
fwtnpmp(input, f, inputtype = "points", nkeep = 2, intercept = TRUE,
initboundhandl = "reflect", updateboundhandl = "add", neighbours = 1,
closest = FALSE, LocalPredmp = LinearPredmp, mpdet="ave")
Arguments
input
A vector of grid values. Can be of any length, not necessarily equally spaced.
f
A vector of function values corresponding to input. Must be of the same length as input.
inputtype
A character string, either "points" to specify that a gridpoint vector is inputted, or "lengths", when a vector of interval lengths is used as input.
nkeep
The number of scaling coefficients to be kept in the final representation of the initial signal. This must be at least two.
intercept
Indicates whether or not the regression curve includes an intercept.
initboundhandl
variable specifying how to handle the boundary at the start of the transform. Possible values are "reflect"
- the intervals corresponding to the first and last datapoints are taken to have the respective grid values as midpoints; and "
updateboundhandl
variable specifying how the intervals are changed during the update step of the transform (PointsUpdate
), when the removed point is on the boundaryy: "reflect"
makes the neighbouring inter neighbours
The number of neighbours over which the regression is performed at each step. If closest is false, then this in fact denotes the number of neighbours on each side of the removed point.
closest
Refers to the configuration of the chosen neighbours. If closest is false, the neighbours will be chosen symmetrically around the removed point. Otherwise, the closest neighbours will be chosen.
LocalPredmp
The type of regression to be performed. Possible options are LinearPredmp
, QuadPredmp
, CubicPredmp
, AdaptPredmp
and AdaptNeighmp
.
mpdet
how the mutiple point detail coefficients are computed. Possible values are "ave", in which the multiple detail coefficients produced when performing the multiple predictions are averaged, or "min", where the overall minimum detail coefficient is taken.