plot_species: Create species specific overview plot.

Description Usage Arguments Value See Also Examples

View source: R/plot-species.R

Description

This plotting routine is based on Raphael's (Ifremer) plotting routine used during model calibration. Currently 6 plots are created by default: - Biomass over time - Biomass over time per age - StructN over time per age - ResN over time per age - Condition over time per age - Numbers over time per age

Usage

1
plot_species(data_pre, species)

Arguments

data_pre

List of preprocessed Atlantis simulation. The list of dataframes should be created with model-preprocess.Rmd.

species

Character srtring giving the name of the species to plot. Only age based species are supported.

Value

ggplot2 object of class grob

See Also

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

Examples

1
2
3
plot <- plot_species(preprocess, species = "Shallow piscivorous fish")
# Use grid.arrange to draw the plot on the current device
gridExtra::grid.arrange(plot)

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