Usage
invtnpmp(X, coefflist, coeff, lengths, lengthsremove, pointsin, removelist,
neighbrs, newneighbrs, schemehist, interhist, nadd = length(X) - 2,
intercept = TRUE, neighbours = 1, closest = FALSE, LocalPredmp = LinearPredmp, mpdet)
Arguments
X
data vector of the grid used in the transform.
coefflist
list of detail and multiple scaling coefficients.
coeff
vector of detail and scaling coefficients in the wavelet decomposition of the signal.
lengths
vector of interval lengths to be used in the update step of the transform. This is of length pointsin.
lengthsremove
vector of interval lengths corresponding to the points removed during the forward transform.
pointsin
indices into X of the scaling coefficients in the wavelet decomposition.
removelist
a vector of indices into X of the lifted coefficients during the transform (in the order of removal).
neighbrs
a list of indices into X. Each list entry gives the indices of the neighbours of the removed point used at that particular step of the forward transform.
newneighbrs
a list of indices into X. Each list entry gives the indices of the multiple neighbours of the removed point used at that particular step of the forward transform.
schemehist
a vector of character strings indicating the type of regression used at each step of the forward transform. This is NULL apart from when AdaptNeigh is to be used in the transform.
interhist
a boolean vector indicating whether or not an intercept was used in the regression curve at each step of the forward transform. This is NULL apart from when AdaptNeigh is to be used in the transform.
nadd
The number of steps to perform of the inverse transform. This corresponds to (length(X)-nkeep
) in the forward transform.
intercept
Boolean value for whether or not an intercept is used in the prediction step of the transform.
neighbours
the number of neighbours in the computation of the predicted value.
closest
a boolean value showing whether or not the neighbours were symmetrical (FALSE) about the removed point during the transform.
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.