plot_rec: Plot recruitment.

Description Usage Arguments Value See Also Examples

View source: R/plot-rec.R

Description

Plot recruitment.

Usage

1
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

1
2
3
4
5
6
## Not run: 
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)

## End(Not run)

alketh/atlantistools documentation built on Oct. 30, 2021, 5:46 a.m.