GenerateRates.EventSim: Generate a list of hazard rates for use in Simulation

Description Usage Arguments Details Value

View source: R/eventSim.R

Description

For each progressionGraph a rate Matrix is calculated using GeneratRateMatrix.ProgressionGraph and is of the form The matrix that is produced is such that M[i,j] = the rate from node i to node j.

Usage

1

Arguments

object

An EventSim object from which to calculate the rates

Details

Each matrix is transposed, unlisted and appended together so that in the example there are N states, the first N rates in the list are the transition rates out of state 1 at calendarTime = 0, patientTime = 0. The next N are the transition rates out of state 2 at calendarTime = 0, patientTime = 0 etc.

Value

A list of rates. The rates are ordered as described


scientific-computing-solutions/badminton documentation built on May 29, 2019, 3:43 p.m.