ctmc_hitting_chances: Compute expected hitting chance of reaching a state

View source: R/hitting_times_dtmc.R

ctmc_hitting_chancesR Documentation

Compute expected hitting chance of reaching a state

Description

Solve the linear system resulting from first step analysis until time of absorption.

Usage

ctmc_hitting_chances(Q, states, before = FALSE)

Arguments

Q

original probability transition matrix

states

the set of states to hit, the exact row-indices

before

boolean to compute hitting probability of states[2] before states[1].

Value

vector/matrix


shill1729/markovChains documentation built on April 24, 2022, 11:50 a.m.