OtimeSpent: O-functional Time spent in state 'i'

Description Usage Arguments Value Functions Note Examples

Description

O-functional Time spent in state i

Usage

1
2
3
4
5
OtimeSpent(obj, State)

Ojumpsij(obj, i = 1, j = 2)

OtotalNrJumps(obj)

Arguments

obj

Markov jump process object with state and jump sequence and intensity matrix.

State

State in the state space of the Markov jump process.

i

State in the state space of the Markov jump process.

j

State in the state space of the Markov jump process.

obj

A Markov jump process object with state and jump sequence and intensity matrix.

obj

Markov jump process object with state and jump sequence and intensity matrix.

Value

The total number of jump from state i to j of the Markov jump process given by obj.

Functions

Note

Note last state in RejMJP is not an actual jump

Note last state in RejMJP is not an actual jump and first state is not a jump either

Examples

1
2
3
4
5
6
7
8
9
(a <- RejMJP(TimePoint = 1))
OtimeSpent(a, State = 2)

(obj <- epsRejMJP(TimePoint = 0.6))
OtimeSpent(obj, State = 2)
(obj <- RejMJP(TimePoint = 6))
Ojumpsij(obj, i = 2, j = 1)
(obj <- RejMJP(TimePoint = 1))
OtotalNrJumps(obj = obj)

NielsKrarup/phasetypeUtilsUcph documentation built on June 26, 2019, 2:27 p.m.