cumulate_matrix: Converts a transition matrix into a 'cumulative transition...

Description Usage Arguments Value

Description

Converts a transition matrix into a 'cumulative transition matrix' If A is a matrix, the rows of the cumulative A are the cumulative sums of the rows of A This helps in the computation of the probability of an event happening

Usage

1
cumulate_matrix(transition_matrix)

Arguments

transition_matrix

The transition matrix for the Markov model, a table

Value

A table that is the cumulative version of the input table


sams25/rcombinator_old documentation built on May 28, 2019, 8:40 a.m.