Description Usage Arguments Value Examples

This function takes in a vector of probabilities of states transitions and calculate the probability of staying in the original state and output the cumulative probabilities for all possibilities.

1 |

`probs` |
A numeric vector of the probabilities of transition to states. |

`actual` |
A logical value, if TRUE, will calculate actual cumulative probabilities which may surpass 1!. |

A numeric vector of cumulative probabilites inclusive of the probability of having the same state in the next timestep.

1 2 3 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.