MatrixSanityChecks: Checks if the matrix is properly formatted

View source: R/nosoi_sanityChecks-Messages.R

MatrixSanityChecksR Documentation

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.


nosoi documentation built on May 29, 2024, 9 a.m.