Description Usage Arguments Examples
View source: R/FUNCTION_plotPair.R
Function to plot 2 time series with various options
1 2 3 4 5 6 7 |
X |
a data frame with 3 series, the first one is the time step (typically year) |
labels |
vector with labels for the 3 columns of X. if NULL, then col names are used |
layout |
plot layout. currently includes: "single", "2axes", "2panels" |
plot.type |
plot style. Currently includes "print" as the default, and "shiny" for use in apps. |
colors |
vector with colors. Details depend on plot type. If NULL, use a built-in default specific for that plot type. |
1 | plotPair(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.