Learn R Programming

fHMM (version 1.1.1)

Gamma2gammasCon: This function constrains the non-diagonal matrix elements of a transition probability matrix Gamma.

Description

This function constrains the non-diagonal matrix elements of a transition probability matrix Gamma.

Usage

Gamma2gammasCon(Gamma, shift = 0.001)

Value

A vector of constrained non-diagonal matrix elements (column-wise).

Arguments

Gamma

A transition probability matrix.

shift

A numeric value for shifting boundary probabilities.