Perform local and global decoding

Function that draws samples from the basic LM model with specific parameters.

1 | ```
draw_lm_basic(piv, Pi, Psi, n)
``` |

`piv ` |
vector of initial probabilities of the latent Markov chain |

`Pi ` |
set of transition matrices |

`Psi ` |
matrix of conditional response probabitlies |

`n ` |
sample size |

`Y ` |
matrix of response configurations unit by unit |

`S ` |
matrix of distinct response configurations |

`yv ` |
corresponding vector of frequencies |

Francesco Bartolucci, Silvia Pandolfi, University of Perugia (IT), http://www.stat.unipg.it/bartolucci

1 2 3 4 5 6 7 8 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.