Description Usage Arguments Value
A function to perform EM algorithm to estimate parameters and find the best sequence of the hidden state.
1 | EM(initial.value, obs, decoding)
|
initial.value |
A |
obs |
A S by 5 |
decoding |
Specification of the decoding method for Hidden markov model, which can be either "Local" or "Global", with the latter one referring to the Viterbi algorithm. |
A list contains the following elements:
resA dataframe contains the input data as well as the corresponding predicted hidden states for each SNP.
parA list contains the final estimates of the parameters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.