Description Usage Arguments Examples
View source: R/FUNCTION_plotGroup.R
Function to generate a plot of multiple time series in a group, and optionally include an aggregate index.
1 | plotGroup(X, agg.idx = "none", plot.type = "print", idx.label = "index")
|
X |
a data frame with at least 2 series, the first one is the time step (for now MUST be "yr") |
agg.idx |
function to be used for an aggregate index across series. Default is "none". Options include any function that works in apply(). Typical examples are "mean", "median". Plan is to include various custom options. |
plot.type |
type of plot to generate: "none","print", or "shiny" for use in the app. "shiny" type plots use plotly |
idx.label |
label for the agg.idx in the output object |
1 | plotGroup(SPATData_EnvCov[,1:5],agg.idx="median",plot.type="print",idx.label = "index")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.