plotScatter: plotScatter

Description Usage Arguments Examples

View source: R/FUNCTION_plotScatter.R

Description

Function to generate a scatter plot of 2 time series with a linear regression. NA are filtered out.

Usage

1
plotScatter(X, labels = NULL, colors = "fade", recent.window = 10)

Arguments

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)

Examples

1
plotScatter(SPATData_EnvCov[,c("EC_jflow","EC_pdo")], labels = NULL, colors = "fade",recent.window = 10)

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