Description Usage Arguments Value See Also Examples
Returns the number of possible transitions from a HMM object.
1 2 3 4 | ntransitions(x)
## S3 method for class 'HMM'
ntransitions(x)
|
x |
the HMM object. |
An integer with the number of possible transitions of the model.
transitions, nstates, nconstraints
1 2 3 4 | model <- HMM(5)
ntransitions(model)
model <- addtransition(model, c(1,2))
ntransitions(model)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.