Description Usage Arguments Value See Also Examples
Sets the parameters selected by minparams
function.
The function minparams
selects a minimal set of parameters, that fully
determine the transition probabilities. This function sets those parameters
and recalculates all transition probabilities from them.
The model is initialized with initparams
and minparams
when
required.
1 | rparams(x) <- value
|
x |
A HMM model. |
value |
A numeric vector with the new parameters. |
Changes parameters$reducedparams$params and parameters$transitions in the object x.
minparams, rparams, initparams
1 2 3 | model <- HMMrectangle(3,3)
rparams(model)<-c(0.3, 0.03)
ptransition(model)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.