makedeplet: makedeplet converts the biomass trajectories into a depletion...

View source: R/cMSY_funs.R

makedepletR Documentation

makedeplet converts the biomass trajectories into a depletion matrix

Description

makedeplet converts the biomass trajectories into a deplletion matrix by dividing through each trajectory by its respective K value. Usually this would be done after the matrix had been projected forward.

Usage

makedeplet(intraj)

Arguments

intraj

the matrix derived from gettraject containing the successful biomass trajectories.

Value

a matrix of only the biomass trajectories once they have each been divided by their respective K values

Examples

## Not run: 
traject <- rbind(c(rnorm(10,mean=200,sd=10),0.5,300,0.65),
                 c(rnorm(10,mean=200,sd=10),0.5,300,0.65))
colnames(traject) <- c(1:10,"r","K","initD")
makedeplet(traject)

## End(Not run)

haddonm/datalowSA documentation built on Nov. 5, 2023, 6:40 p.m.