View source: R/plot-fore-age-comps.R
plot_fore_age_comps | R Documentation |
endyr
+ 1)Create a two-panel plot showing the forecasted age compositions by
numbers and weight for the first forecast year (endyr
+ 1)
plot_fore_age_comps(
model,
x_lim = c(1, 15),
x_breaks = seq(x_lim[1], x_lim[2], 2),
y_lim = c(0, 0.55),
whisker_width = 0.5,
point_size = 2,
glow_size = 2.5
)
model |
A model object, created by |
x_lim |
A vector of 2 representing the minimum and maximum x-axis values to plot |
x_breaks |
A vector of values to show on the x-axis |
y_lim |
A vector of 2 representing the minimum and maximum y-axis values to plot |
whisker_width |
The width of the top and bottom crossbars (whiskers) on the error bars |
point_size |
The size of the median points |
glow_size |
The size of the white glow behind the points (must be
larger than |
probs |
A vector of three quantiles for the lower CI, median, and upper CI. The second value must be 0.5 |
A cowplot::plot_grid()
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.