Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/hmm_functions.R
Simulates data from a hidden Markov model
1 2 |
object |
A |
nsim |
An integer or vector of integers (for multiple sequences) specifying the length of the sequence(s) |
seed |
|
rand.emission |
The function used to generate observations from the emission distribution |
... |
further arguments passed to or from other methods. |
If nsim
is a single integer then a HMM of that length is
produced. If nsim
is a vector of integers, then
length(nsim)
sequences are generated with respective lengths.
An object of class hmmdata
x |
A vector of length |
s |
A vector of length |
N |
A vector of the length of each observation sequence (used to segment x and s) |
Jared O'Connell jaredoconnell@gmail.com
Rabiner, L. (1989), A tutorial on hidden Markov models and selected applications in speech recognition, Proceedings of the IEEE, 77, 257-286.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.