calcSizeTransitionMatrix: Calculate a size transition matrix

View source: R/calcSizeTransitionMatrix.R

calcSizeTransitionMatrixR Documentation

Calculate a size transition matrix

Description

Function to calculate a size transition matrix.

Usage

calcSizeTransitionMatrix(
  coeffs = list(type = "LinearGrowthIncrement", a = 0.7, b = 0.883118, beta = 0.75, maxDZ
    = 50),
  sizes = seq(from = 25, to = 185, by = 1),
  showPlot = FALSE,
  log = FALSE,
  colors = grDevices::rainbow(1000)
)

Arguments

coeffs

: list including function 'type' and parameter values

sizes

: vector of sizes at which to calculate the sie transition probabilities

showPlot

: flag (T/F) to plot the matrix

log

: flag to use ln-scale on plot

colors

: palette to use to color the plot

Details

If

  • 'type'='LinearGrowthIncrement', calls calcSizeTransitionMatrix.LinearGrowthIncrement.


wStockhausen/tcsamFunctions documentation built on Jan. 28, 2024, 9:01 a.m.