Description Usage Arguments Value References Examples

Simulate a hidden Markov series and its underlying states with zero-inflated emission distributions

1 | ```
hmmsim(n, M, prior, tpm_parm, emit_parm, zeroprop)
``` |

`n` |
length of the simulated series |

`M` |
number of hidden states |

`prior` |
a vector of prior probability for each state |

`tpm_parm` |
transition probability matrix |

`emit_parm` |
a vector containing means for each poisson distribution |

`zeroprop` |
a vector containing structural zero proportions in each state |

simulated series and corresponding states

Walter Zucchini, Iain L. MacDonald, Roland Langrock. Hidden Markov Models for Time Series: An Introduction Using R, Second Edition. Chapman & Hall/CRC

1 2 3 4 5 6 7 |

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.