A function that plots the observed size structure against the expected size composition at the target SPR
plotTarg(
LB_pars = NULL,
LB_lengths = NULL,
yr = 1,
Cols = NULL,
title = NULL,
targtext = TRUE,
size.axtex = 12,
size.title = 14,
scales = c("fixed", "free_x", "free_y", "free")
)
an object of class 'LB_pars'
that contains the life history and fishing information
an object of class 'LB_lengths'
that contains the observed size data
index for sampled length data (defaults to 1)
optional character vector of colours for the plot
character - optional title for plot
logical - should the SPR target text be displayed as a subtitle?
size of the axis text
size of axis title
argument to ggplot2 function. 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")
a ggplot object