plotGroup: plotGroup

Description Usage Arguments Examples

View source: R/FUNCTION_plotGroup.R

Description

Function to generate a plot of multiple time series in a group, and optionally include an aggregate index.

Usage

1
plotGroup(X, agg.idx = "none", plot.type = "print", idx.label = "index")

Arguments

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

Examples

1
plotGroup(SPATData_EnvCov[,1:5],agg.idx="median",plot.type="print",idx.label = "index")

SOLV-Code/SPATFunctions-Package documentation built on April 25, 2020, 12:59 a.m.