Description Usage Arguments Value See Also Examples
Returns the matrix of constraints from a HMM object.
1 2 3 4 | constraints(x)
## S3 method for class 'HMM'
constraints(x)
|
x |
the HMM object. |
A row major sparse matrix as in HMM
.
HMM, nconstraints, transitions
1 2 3 4 | model <- HMMrectangle(3,3)
constraints(model)
nconstraints(model)
nrow(constraints(model)) # should agree
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.