Learn R Programming

MSEtool (version 2.0.1)

compare_models: Compare output from several assessment models

Description

Plot biomass, recruitment, and fishing mortality time series from several . This function can be used to compare outputs among different assessment models from the same Data object.

Usage

compare_models(..., label = NULL, color = NULL)

Arguments

...

Objects of class '>Assessment.

label

A character vector of the models for the legend.

color

A vector of colors for each assessment model.

Value

A set of figures of biomass, recruitment, and fishing mortality estimates among the models.

Examples

Run this code
# NOT RUN {
res <- cDD_SS(Data = DLMtool::SimulatedData)
res2 <- SCA(Data = DLMtool::SimulatedData)
res3 <- SCA2(Data = DLMtool::SimulatedData)
res4 <- VPA(Data = DLMtool::SimulatedData)

compare_models(res, res2, res3)
# }

Run the code above in your browser using DataLab