stageFreqN: Compute stage probabilites by numeric integration.

Description Usage Arguments Value

View source: R/functions.r

Description

Compute stage probabilites by numeric integration.

Usage

1
stageFreqN(sampleTimes, dDur, mortRate, grid)

Arguments

sampleTimes

Vector of times at which the cohort was sampled.

dDur

A matrix of stage duration densities.

mortRate

Mortality rates for each stage.

grid

A grid over which numeric integration of stage duration probabilities is done.

Value

A matrix of stage counts. Each row gives the number of individuals in each stage for a given sampling time.


jknape/stageFreq documentation built on May 19, 2019, 11:42 a.m.