rparams: Reduced parameters.

Description Usage Arguments Value See Also Examples

View source: R/getters.R

Description

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.

Usage

1
2
3
4
rparams(x)

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

Arguments

x

the HMM object.

Value

A numeric vector with the values of the parameters.

See Also

minparams, ptransition, gettransmatrix, fit

Examples

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!

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