Skip to contents

Make a plot of yearly escapement values

Usage

plotEscapement(streamvast, obs.escape, title, ribbons = NA, median = F)

Arguments

obs.escape

A vector of observed or reported escapement values; must be equal to the # of years in escape

title

character; a title to be passed to ggtitle

median

should the plot show the predicted escapement based on the mle or the median of the posterior

escape

A table of escapement values, usually from MakeEscapement

Value

either a ggplot object or a dataframe depending on the 'plot' option