plot.recruitment function

Plot of recruitment patterns

Plot of recruitment patterns

This function plots the recruitment patterns from the recruitment model.

## S3 method for class 'recruitment' plot( x, percent = TRUE, col = "darkgreen", xtitle = "default", ytitle = "default", ... )

Arguments

  • x: list of the class "recruitment"
  • percent: logical; should number of recruits be relative (percentage)?
  • col: colour of bars (default is "darkgreen")
  • xtitle: title of x axis (default "rel. months" or no title, respectively)
  • ytitle: title of y axis (default "# Recruits" or "Recruits [%]", respectively)
  • ...: standard parameters of barplot

Examples

dat <- list(midLengths = seq(2,98,4), catch = c(0.6,17.6,93,83.2,12.6,0.3,0,0,0,1,17.1,51.4, 26.1,2.2,0.2,4.5,21.6,17.6,3.7,8.7,10.6,6.3,5.6,2.9,0.8), Linf = 100, K = 0.5) output <- recruitment(param = dat, tsample = 0.25) plot(output, percent = FALSE)

References

Sparre, P., Venema, S.C., 1998. Introduction to tropical fish stock assessment. Part 1. Manual. FAO Fisheries Technical Paper, (306.1, Rev. 2). 407 p.

  • Maintainer: Tobias K. Mildenberger
  • License: GPL-3
  • Last published: 2024-10-31