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.


slequime/nosoi documentation built on Feb. 15, 2024, 3:31 p.m.