plot_LCfits: plot length composition data and model fits

Description Usage Arguments Value Author(s)

View source: R/plot_LCfits.R

Description

plot_LCfits plot length composition data with option for model fits from LIME and LB-SPR

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
plot_LCfits(
  LF_df = NULL,
  binwidth = 1,
  Inputs = NULL,
  Report = NULL,
  LBSPR = NULL,
  plot_fit = TRUE,
  n = FALSE,
  time_labels = NULL,
  plot_type = "density"
)

Arguments

LF_df

list of length frequency matrices

binwidth

bin width for plotting data with LF_df

Inputs

LIME input file; default NULL if only plotting length data

Report

LIME report file; default NULL if only plotting length data

LBSPR

LBSPR results - must have pLF = probability of being harvested in a length bin; default NULL

plot_fit

default = TRUE if Report file or LBSPR file is included, plot the model fits, otherwise plot data only

n

if TRUE, will display sample size of length comp data; default FALSE

time_labels

default=NULL, otherwise a vector of time series names

plot_type

default = "density", alternate = "counts"

Value

figure with length composition data and model fits if Report or LBSPR are specified

Author(s)

M.B. Rudd


merrillrudd/LIME documentation built on June 20, 2020, 2:58 p.m.