fPaginateGPPsatFacets: Plot faceted time series of GPPsat (with SOS/EOS)

Description Usage Arguments

View source: R/fPaginateGPPsatFacets.R

Description

This function will plot annual facets of GPPsat time series with critical dates overlaid on each plot

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
fPaginateGPPsatFacets(
  GPP,
  GPP.pred,
  GPP.POSIX,
  GPP.ProcYr,
  crit.ID,
  crit.POSIX,
  crit.ProcYr,
  crit.GPP,
  site.info,
  ncol = 4,
  nrow = 4,
  span
)

Arguments

GPP

numeric, requires a vector of daily GPP for a given process_year

GPP.pred

numeric, requires a vector of PREDICTED daily GPP for a given process_year

GPP.POSIX

date, requires a vector of POSIX dates (YYYY-MM-DD) for each process_year

GPP.ProcYr

numeric, requires a vector of process_years (used to facet our data by individual years)

crit.ID

character, requires a vector of critical threshold labels (e.g. SOS10, SOS25) (vector must be of equal length as the number of individual critical dates)

crit.POSIX

date, requires a vector of POSIX dates (YYYY-MM-DD) for each critical threshold

crit.ProcYr

numeric, requires a vector of process_years (used to identify which subset of data the critical thresholds were estimated from)

crit.GPP

numeric, requires a vector of GPPsat estimates for each critical threshold date

site.info

list, metadata for current site

ncol

numeric, number of columns in your faceted plot

nrow

numeric, number of rows in your faceted plot

span

numeric, set the span for time series smoothing (defaults to 0.075)


ksmiff33/FluxSynthU documentation built on Dec. 15, 2020, 10:29 p.m.