Plot observed and predicted catch values

Plot observed and predicted catch values

plot_catch(
  M,
  plot_res = FALSE,
  scales = "free_y",
  xlab = "Year",
  ylab = "Catch",
  mlab = "Model",
  x_leg = 0.9,
  y_leg = 0.7
)

plot_catch(
  M,
  plot_res = FALSE,
  scales = "free_y",
  xlab = "Year",
  ylab = "Catch",
  mlab = "Model",
  x_leg = 0.9,
  y_leg = 0.7
)

Arguments

M

list object created by read_admb function

plot_res

plot residuals only (default = FALSE)

scales

Are scales shared across all facets (the default, "fixed"), or do they vary across rows ("free_x"), columns ("free_y"), or both rows and columns ("free")?

xlab

the x-axis label for the plot

ylab

the y-axis label for the plot

mlab

the model label for the plot that appears above the key

x_leg

numeric; (0<in_leg_x<1): x coordinate of the legend box.

y_leg

numeric; (0<in_leg_x<1): y coordinate of the legend box.

Value

plot of catch history (observed) and predicted values

plot of catch history (observed) and predicted values

Author

SJD Martell, D'Arcy N. Webber