Description Usage Arguments Details Value

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

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)
``` |

`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` |
- |

None.

ggplot object

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.