Description Usage Arguments Value See Also Examples
Returns the values of the minimal set of parameters.
The minimal set of parameters are selected by minparams
.
They are a few probabilities of transition that determine the remaining ones
because of the constraints. They are used to fit the model.
1 2 3 4 |
x |
the HMM object. |
A numeric vector with the values of the parameters.
minparams, ptransition, gettransmatrix, fit
1 2 3 4 5 6 | model <- HMMrectangle(3,3)
model <- initparams(model)
model <- minparams(model)
rparams(model)
ntransitions(model)
length(rparams(model)) # A much smaller parameter space!
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.