makePi: Makes Markov transition matrices from mean times available...

Description Usage Arguments Examples

Description

Makes Markov transition matrices from mean times available (Ea) and unavailable (Eu). If Ea and Eu are vectors of length m (they must be the same length), returns a 2x2xm array in which element [,,i] is the ith Markov transition matrix; else returns a single 2x2 matrix.

Usage

1
makePi(Eu, Ea)

Arguments

Eu

is the mean time UNavailable in one available-unavailable cycle.

Ea

is the mean time available in one available-unavailable cycle.

Examples

1
2
3
Ea=c(10,12);Eu=c(20,22)
makePi(Eu,Ea)
makePi(Eu[1],Ea[1])

DistanceDevelopment/hsltm documentation built on June 21, 2019, 2:22 p.m.