Provides a trajectory plot for exploitation rate (ER), defined as the ratio between catch of a given year and fishable biomass from the previous year, and that fishable biomass.

plot_trajectory(sspm_object, dataset, biomass, catch, ...)

# S4 method for sspm_fit,sspm_dataset,character,character
plot_trajectory(sspm_object, dataset, biomass, catch, dataset_biomass = NULL)

Arguments

sspm_object

[sspm_dataset or sspm_fit] The dataset object.

dataset

[sspm_dataset] Corresponding biomass dataset.

biomass

[character] Biomass variable for plotting.

catch

[character] Catch variable for plotting

...

More arguments passed onto fun

dataset_biomass

[character] Biomass variable for plotting in the biomass dataset if the variable name is different there.

Value

A ggplot2 plot object.

Examples

if (FALSE) {
plot_trajectory(sspm_fit, borealis_dataset_fitted,
                "weight_per_km2", "catch")
}