HwdS function
to compute the Haar wavelet transform with out boundary
conditions (neither periodic, interval, mirror reflection).
This is so all coefficients are genuine Haar coefficients without
involving extra/repeated data.ewspecHaarNonPer(x, filter.number = 1, family = "DaubExPhase",
UseLocalSpec = TRUE, DoSWT = TRUE, WPsmooth = TRUE,
verbose = FALSE, smooth.filter.number = 10,
smooth.family = "DaubLeAsymm",
smooth.levels = 3:WPwst$nlevels - 1, smooth.dev = madmad,
smooth.policy = "LSuniversal", smooth.value = 0,
smooth.by.level = FALSE, smooth.type = "soft",
smooth.verbose = FALSE, smooth.cvtol = 0.01,
smooth.cvnorm = l2norm, smooth.transform = I,
smooth.inverse = I)TRUE.TRUETRUE to do smoothing. If FALSE
then not smoothed.TRUE informative messages are printed during
the progress of the algorithm.ewspecsmooth.policy then this is it.TRUE then all levels are smoothed
independently with different smoothing, otherwise all levels
are smoothed together (eg one threshold for all levels).TRUE then informative messages about
the smoothing are printed.ewspec function.ewspec from wavethresh, and many arguments here perform
the same function as there.hwtos2,
HwdS#
# Requires wavethresh, so not run directly in installation of package
#
ewspecHaarNonPer(rnorm(512))Run the code above in your browser using DataLab