nosoi (version 1.0.0)

MatrixSanityChecks: Checks if the matrix is properly formatted

Description

Checks if the transition matrix is properly formatted given the user's input and nosoi's requirements.

Usage

MatrixSanityChecks(structure.matrix, init.structure,
  none.at.start = NULL)

Arguments

structure.matrix

transition matrix (probabilities) to go from location A (row) to B (column)

init.structure

which state (i.e. location) the initially infected individuals are located.