nconstraints: Number of constraints.

Description Usage Arguments Value See Also Examples

View source: R/getters.R

Description

Returns the number of constraints from a HMM object.

Usage

1
2
3
4
nconstraints(x)

## S3 method for class 'HMM'
nconstraints(x)

Arguments

x

the HMM object.

Value

An integer with the number of constraints of the model.

See Also

constraints, nstates, ntransitions

Examples

1
2
3
4
model <- HMM(5)
nconstraints(model)
model <- HMMrectangle(3, 3)
nconstraints(model)

MobilePhoneESSnetBigData/destim documentation built on Dec. 7, 2020, 7:35 p.m.