Description Usage Arguments Author(s) See Also Examples
View source: R/report_auxiliary.R
Plot time series of observed (with lognormally-distributed error bars) vs. predicted data.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Year |
A vector of years for the data. |
obs |
A vector of observed data. |
fit |
A vector of predicted data (e.g., from an assessment model). |
obs_CV |
A vector of year-specific coefficient of variation in the observed data. |
obs_CV_CI |
The confidence interval for the error bars based for |
obs_upper |
A vector of year-specific upper bounds for the error bars of the observed data (in lieu of argument |
obs_lower |
A vector of year-specific lower bounds for the error bars of the observed data (in lieu of argument |
obs_ind_blue |
Indices of |
fit_linewidth |
Argument |
fit_color |
Color of fitted line. |
label |
Character string that describes the data to label the y-axis. |
Q. Huynh
1 2 3 | data(Red_snapper)
plot_timeseries(Red_snapper@Year, Red_snapper@Cat[1, ],
obs_CV = Red_snapper@CV_Cat, label = "Catch")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.