init_rates_sis_matrix: Initial Rates of Individuals in the Network

Description Usage Arguments Value

Description

init_rates_sis_matrix returns an array of the initial rates associated with each individual in the network.

Usage

1
init_rates_sis_matrix(graph, startnodes, gam, tau, status)

Arguments

graph

the adjacency matrix representation of the network.

startnodes

Initially infectious individuals.

gam

recovery rate

tau

per link infection rate

status

the initial infectious status of individuals.

N

Number of vertices / nodes in the network.

Value

Integer array of size N representing the rates applicable to individuals


tjtnew/simnetR documentation built on May 12, 2019, 4:20 p.m.