Plot recruitment.

plot_rec(data, ex_data, ncol = 7)

Arguments

data

Dataframe with information about ssb and recruits. This is created from atlantis output files YOY.txt and SSB.txt (Usually output[...]YOY.txt' & 'output[...]SSB.txt') using load_rec.

ex_data

Dataframe to compare the atlantis run with.

ncol

Number of columns in multipanel plot. Default is 7.

Value

ggplot2 object

See also

Other plot functions: plot_bar(), plot_boxes(), plot_diet_bec_dev(), plot_diet(), plot_line(), plot_species()

Examples

if (FALSE) { d <- system.file("extdata", "setas-model-new-becdev", package = "atlantistools") ex_data <- read.csv(file.path(d, "setas-ssb-rec.csv"), stringsAsFactors = FALSE) plot_rec(preprocess_setas$ssb_rec, ex_data) }