View source: R/calcSizeTransitionMatrix.LinearGrowthIncrement.R
calcSizeTransitionMatrix.LinearGrowthIncrement | R Documentation |
Function to calculate a size transition matrix
calcSizeTransitionMatrix.LinearGrowthIncrement(
a = 0.7,
b = 0.883118,
beta = 0.75,
maxDZ = 50,
coeffs = NULL,
sizes = seq(from = 27.5, to = 182.5, by = 5),
showPlot = TRUE,
log = FALSE,
colors = grDevices::rainbow(1000)
)
a |
: "a" coefficient of linear growth increment |
b |
: "b" coefficient of linear growth increment |
beta |
: gamma distribution scale parameter |
maxDZ |
: max growth increment allowed (truncates potential growth) |
coeffs |
: list with coefficients a, b, beta, maxDZ |
sizes |
: size bins to include in matrix |
showPlot |
: flag (T/F) to plot matrix |
log |
: flag to plot ln-scale matrix (in conjunction w/ showPlot) |
colors |
: palette to plot matrix with |
Approximates the gamma cdf using the pdf, as in old TCSAM.
matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.