calcGrowth: Calculate mean growth and the growth transition matrix

Description Usage Arguments Details Value

View source: R/calcGrowth.R

Description

Function to calculate mean growth and the growth transition matrix.

Usage

1
calcGrowth(configInfo, input, verbose = FALSE)

Arguments

configInfo

- list created by setConfigInfo with model configuration elements

input

- list with growth parameters and other information

Details

Returns a list with elements:<cr> <ul> <li> params - a list with input parameter values </li> <li> mdfrMnGrowth - a dataframe with mean growth by pre-molt size </li> <li> mdfrPrGrowth - a dataframe wtih probability of growth into a post-molt size by pre-molt size </li> <li> prGr_zz - the size-transition matrix (rows: pre-molt size bins; cols: post-molt size bins) </ul>

The input list has elements:<cr> <ul> <li> zA - reference pre-molt size (mm CW) for pA</li> <li> pA - parameter reflecting mean post-molt size at pre-molt size zA</li> <li> zB - reference pre-molt size (mm CW) for pB</li> <li> pB - parameter reflecting mean post-molt size at pre-molt size zB/li> <li> pBeta - parameter reflecting scale function for gamma distribution zB/li> <li> maxZBEx - parameter reflecting max extent of potential growth (in size bins) zB/li> </ul>

Value

list - list with mean growth and growth transition matrix (see @details )


wStockhausen/shinyTC.CohortProgression documentation built on July 19, 2021, 5:32 a.m.