ApplyTransitionMatrix: Apply transition matrix to vector of population counts by...

Description Usage Arguments Value

Description

Applies transition matrix to vector of population counts by state. Option to select transition matrix that matches length of vector when given multiple transition matrices.

Usage

1
ApplyTransitionMatrix(vector.counts, transition.matrices)

Arguments

vector.counts

vector of counts in each state

transition.matrices

transition matrix, or list of transition matrices. When multiple transition matrices are supplied, the first transition matrix whose dimensionality matches the number of states in vector.counts is used.

Value

number of individuals in each state after migration


google/amss documentation built on May 20, 2019, 5:05 p.m.