plotModelComparisonsGG.TimeSeries: Plot comparisons of time series from a set of model runs

Description Usage Arguments Details Value

Description

Function to plot a comparison of time series from a set of model runs.

Usage

1
2
3
4
5
6
plotModelComparisonsGG.TimeSeries(dfr, plot1stObs = TRUE, x = "y",
  y = "val", lci = "lci", uci = "uci", case = "case",
  category = "category", facets = NULL, position = position_dodge(0.2),
  scales = "fixed", plotObs = TRUE, plotMod = TRUE, ci = 0.95,
  pdfType = "lognormal", xlab = "year", ylab = NULL, title = NULL,
  xlims = NULL, ylims = NULL, showPlot = TRUE)

Arguments

dfr

- dataframe

plot1stObs

- flag to plot observations from first case only

x

- column name with x axis values

y

- column name with y axis values

lci

- column name with y axis values

uci

- column name with y axis values

case

- column name with case names

category

- column name with category values (i.e., "observed","predicted")

facets

- string giving faceting formula

position

- indicates ggplot2 position_ to use ('dodge','jitter','identity',)

scales

- ggplot2 scales option for facet_grid

plotObs

- plot observations

plotMod

- plot case fits/predictions

ci

- confidence interval for error bars

pdfType

- assumed error distribution for confidence intervals

xlab

-

ylab

-

title

-

xlims

-

ylims

-

showPlot

-

Details

None.

Value

ggplot object


wStockhausen/rTCSAM2013 documentation built on May 3, 2019, 7:13 p.m.