extractMDFR.Pop.RecSizeDistribution: Extract recruitment size distributions from several model...

View source: R/extractMDFR.Pop.RecSizeDistribution.R

extractMDFR.Pop.RecSizeDistributionR Documentation

Extract recruitment size distributions from several model runs

Description

Function to extract recruitment size distributions from several model runs.

Usage

extractMDFR.Pop.RecSizeDistribution(
  objs,
  scaleToDensity = FALSE,
  aggToCutpts = FALSE,
  cutpts = seq(25, 185, 5),
  verbose = FALSE
)

Arguments

objs
  • list of resLst objects

scaleToDensity
  • flag to scale abundance to 1-mm size bins

aggToCutpts
  • flag to aggregate (rebin) to provided cutpts

cutpts
  • cutpoints to aggregate to

verbose
  • flag (T/F) to print diagnostic information

Details

If scaleToDensity is true, the size distribution is scaled to abundance/mm to allow easier comparison between models with different bin sizes. If aggToCutpts is true, the distribution(s) are re-binned (aggregated) to a common set of cutpoints.

Value

dataframe in canonical format


wStockhausen/rCompTCMs documentation built on Sept. 12, 2023, 3:13 p.m.