# Code to test the function "plot_rolcor_estim_heatmap"
# Defining NonParRolCor parameters
TYPEWIDTHWIN="PARTIAL"
# Number of Monte-Carlo simulations (MCSim), please use at least 1000.
# WARNING: MCSim=2, it's just to test this example!
MCSim <- 2
Np <- 2 # Number of cores
X_Y <- rolcor_estim_heatmap(syntheticdata[1:350,], CorMethod="pearson",
typewidthwin=TYPEWIDTHWIN, widthwin_1=29,
widthwin_N=51, Align="center", rmltrd=TRUE,
Scale=TRUE, MCSim=MCSim, Np=Np)
plot_rolcor_estim_heatmap(syntheticdata[1:350,], X_Y$matcor, X_Y$CRITVAL,
Rwidthwin=X_Y$Windows, typewidthwin=TYPEWIDTHWIN,
widthwin_1=29, widthwin_N=51)
Run the code above in your browser using DataLab