Description Usage Arguments Examples
View source: R/FUNCTION_comPair.R
Function to compute and plot correlations of 2 series (cumulative and by time window). Wrapper function for the the runCor() function from the TTR package.
1 |
X |
a data frame with 3 series, the first one is the time step (typically year) |
window |
number of time periods to use for each time window in the retrospective. Default is 12 |
plot.type |
type of plot to generate: "none", "print", or "shiny" for use in the app. "shiny" type plots use plotly |
1 | comPair(SPATData_EnvCov[,c("yr","EC_jflow","EC_pdo")])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.