plot_local.multiple.correlation {wavemulcor} | R Documentation |
Auxiliary routine for plotting local multiple correlations
Description
Produces a plot of local multiple correlations.
Usage
plot_local.multiple.correlation(Lst, xaxt="s")
Arguments
Lst |
A list from local.multiple.regression or local.multiple.correlation. |
xaxt |
An optional vector of labels for the "x" axis. Default is 1:n. |
Details
The routine produces a time series plot of local multiple correlations with its confidence interval. Also, at every upturn and downturn, the name of the variable that maximizes its multiple correlation against the rest is shown. Note that the routine is optimize for local.multiple.regression. If you want to use output from the legacy local.multiple.correlation function then you must create an empty list and put that output into a list element named cor like this: Lst <- list(); Lst$cor <- local.multiple.cross.correlation(xx, M, window=window, lag.max=lmax); Lst$YmaxR <- Lst2$cor$YmaxR; Lst$cor$YmaxR <- NULL.
Value
Plot.
Author(s)
Javier Fernández-Macho, Dpt. of Quantitative Methods, University of the Basque Country, Agirre Lehendakari etorb. 83, E48015 BILBAO, Spain. (email: javier.fernandezmacho at ehu.eus).
References
Fernández-Macho, J., 2018. Time-localized wavelet multiple regression and correlation, Physica A: Statistical Mechanics, vol. 490, p. 1226–1238. <DOI:10.1016/j.physa.2017.11.050>