Learn R Programming

MmgraphR (version 0.3-1)

trmat: Extract a Probability Transition Matrix

Description

Extracts a probability transition matrix.

Usage

## S3 method for class 'depmix.fitted'

trmat ( d )

Arguments

d

Object of class depmix.fitted.

Value

trmat returns an the probability transition matrix as an object of class matrix.

Details

The function trmat extracts the probability transition matrix from a depmix.fitted object and returns it as a matrix. trmat is used internally by the function trmatplot.depmix.fitted in order to extract the probability transition matrix to be plotted.

See Also

trmatplot, trmatplot.depmix.fitted, depmix.fitted,