wcore_spec | R Documentation |
This function computes the median series representing the wavelet-based signal estimation series for a specific condition.
wcore_spec(x, filterexpr)
x |
An object generated by the functions
|
filterexpr |
A logical condition involving
variables used in functions of type |
A tibble
library(lubridate)
inf_head <- coreinf_br[["ipca"]]
date_start <- coreinf_br[["date"]][1]
ts_start <- c(year(date_start), month(date_start))
inf_head_ts <- ts(inf_head, start = ts_start, frequency = 12)
wshr_obj <- wav_args_wshr(list(
wavelet = c("haar", "d4", "d6", "d8", "s8"),
n.level = 1:4
))
core_wavelet <- wav_smooth(inf_head, wshr_obj)
core_wavelet2 <- wcore_table(core_wavelet, inf_head_ts)
x <- wcore_summary(core_wavelet2, inf_head)
wcore_spec(x, wavelet == "haar")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.