get_counts_diff: Get count matrix and difference between two cycles

View source: R/utils.R

get_counts_diffR Documentation

Get count matrix and difference between two cycles

Description

Get count matrix and difference between two cycles

Usage

get_counts_diff(x, init, inflow)

Arguments

x

transition matrix

init

numeric vector, same length as number of model states. Number of individuals in each model state at the beginning.

inflow

numeric vector, similar to init. Number of new individuals in each state per cycle.

Value

A length 2 list of matrix : the count matrix for each cycle and the diff matrix showing the difference of counts between two cycles.


pierucci/heemod documentation built on July 17, 2022, 9:27 p.m.