# \donttest{
# We reproduce Figure 3 left presented in Polanco-Martínez et al. (2020).
inputdata <- rdata_climate
N <- nrow(inputdata)
wf <- "la8"
window <- "gaussian"
J <- 7
M <- 168
LISTvals <- estim_WLMC(inputdata, wf=wf, J=J, window=window, M=M, Ymaxr=NULL)
plot_estim_WLMC(inputdata, LISTvals=LISTvals, J=J, fac=1, FLAG=TRUE,
FLAGNA=1, COLS=c("blue", "green", "red"), LTY=c(rep(1,5)),
LWD=c(rep(1.2,5)), DIST=c(seq(0, 10, 2.75)))
# }
Run the code above in your browser using DataLab