Description Usage Arguments Examples
View source: R/FUNCTION_plotScatter.R
Function to generate a scatter plot of 2 time series with a linear regression. NA are filtered out.
1 | plotScatter(X, labels = NULL, colors = "fade", recent.window = 10)
|
X |
a data frame with 3 series (the first one is the time step, typically "yr", used for optional coloring, and to keep the input object consistent with the other plotting functions) |
labels |
vector with labels for the 2 series. if NULL, then col names are used |
colors |
one of NULL, "fade", "recent" NOT YET IMPLEMENTED |
recent.window |
number to specify how many recent points to highlight. Default is 10 (i.e. last 10yrs) |
1 | plotScatter(SPATData_EnvCov[,c("EC_jflow","EC_pdo")], labels = NULL, colors = "fade",recent.window = 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.