makePi | R Documentation |
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.
makePi(Eu, Ea)
Eu |
is a vector containing the mean time(s) animals are UNavailable in one available-unavailable cycle. |
Ea |
is a vector containing the mean time(s) animals are available in one available-unavailable cycle (must be same length as Eu). |
Ea=c(10,12);Eu=c(20,22)
makePi(Eu,Ea)
makePi(Eu[1],Ea[1])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.