plot_fits: Plot surplus production model fits

Description Usage Arguments Value

View source: R/plot_fits.R

Description

This function plots surplus production model fits and exports to a PDF.

Usage

1
2
3
4
5
6
7
8
9
plot_fits(
  output,
  b_col,
  sp_col = NULL,
  r_col = NULL,
  cov_col = NULL,
  plotdir = getwd(),
  plotname = "TMB_fits.pdf"
)

Arguments

output

SP model output

b_col

Biomass column

sp_col

Production column

r_col

Recruitment column

cov_col

Covariate column

plotdir

Path for plot export

plotname

Plot name (must end with ".pdf)

Value

PDF with production model fits


cfree14/splink documentation built on Dec. 19, 2021, 2:57 p.m.