wav_args_wthr | 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
wavethresh::threshold
.
wav_args_wthr(wdlist, thrlist, lr)
wdlist |
A named list of arguments for wavelet transform by using
|
thrlist |
A named list of arguments that can be used in function
|
lr |
An integer vector which determines the minimum scale
level that is thresholded. The maximum scale level is given by
|
S3 objetc of class args_wthr. This object is a list of the following elements:
A tibble with arguments to get wavevel-based
signal estimation from
wavethresh::threshold
.
A integer vector of length two. The first
element is the number of arguments to pass to the function
wavethresh::wd
, excluding data
. The
second element is the number of arguments to the
wavethresh::threshold
function, excluding wd
.
wav_smooth
wthr_wd <- list(
filter.number = 1:4,
family = c("DaubLeAsymm", "DaubExPhase"),
type = c("wavelet", "station"),
bc = c("periodic", "symmetric")
)
wthr_thr <- list(
type = c("soft", "hard"),
policy = c(
"universal",
"sure",
"BayesThresh", "cv"
),
boundary = c(TRUE, FALSE)
)
wthr_args <- wav_args_wthr(wthr_wd, wthr_thr, 3:5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.