Skip to contents

function to plot different fits to a single index of abundance

Usage

ensemble_plot_index(
  summaryoutput,
  varlist,
  indexfleets = 1,
  verbose = TRUE,
  legendloc = "topright",
  legendcex = 1,
  legendsp = 0.9,
  legendncol = 1,
  type = "l"
)

Arguments

summaryoutput

summaryoutput

varlist

variable list

indexfleets

Fleet vector index

verbose

Option to output messages to Rconsole

legendloc

Location of legend. Either a string like "topleft" or a vector of two numeric values representing the fraction of the maximum in the x and y dimensions, respectively. See ?legend for more info on the string options.

legendcex

Allows to adjust legend cex

legendsp

Space between legend labels

legendncol

Number of columns for the legend.

type

Type parameter passed to points (default 'o' overplots points on top of lines)