wav_args_ebthr | R Documentation |
The main goal of this function is to generate a tibble
with combinations of some possible arguments that can be passed to
get wavelet-based signal estimation from the function
EbayesThresh::ebayesthresh.wavelet
.
wav_args_ebthr(xform, wtlist, ebthrlist)
xform |
A named list of wavelet transform methods. Types can be |
wtlist |
A named list of arguments to use in the wavelet
decomposition, excluding the input vector |
ebthrlist |
A named list of arguments that can be passed to the function |
S3 objetc of class args_ebthr. This object is a list of the following elements:
A tibble with arguments to get wavevel-based
signal estimation from
EbayesThresh::ebayesthresh.wavelet
.
A integer vector of length two. The first
element is the number of arguments to pass to the function
waveslim::dwt
or waveslim::modwt
. The
second element is the number of arguments to the EbayesThresh::ebayesthresh.wavelet
.
wav_smooth
# Wavelet transform
ebthr_xform <- list(wt = c("dwt", "modwt"))
# Wavelet filter (package waveslim)
ebthr_wt <- list(
wf = c("haar", "d4", "d6", "la8"),
n.levels = 1:4,
boundary = c("periodic", "reflection")
)
# Some arguments that can be passed to EbayesThresh::ebayesthresh.wavelet
ebthr_ebwav <- list(
vscale = c("level", "independet"),
a = 0.5,
prior = c("laplace", "cauchy"),
threshrule = c("median", "mean", "soft", "hard")
)
ebthr_args <- wav_args_ebthr(ebthr_xform, ebthr_wt, ebthr_ebwav)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.