# Extract a Probability Transition Matrix

### Description

Extracts a probability transition matrix.

### Usage

1 2 3 | ```
## S3 method for class 'depmix.fitted'
trmat ( d )
``` |

### Arguments

`d` |
Object of class |

### 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.

### Value

`trmat`

returns an the probability transition matrix as an object of class `matrix`

.

### Author(s)

Poulcheria Adamopoulou

### See Also

`trmatplot`

,
`trmatplot.depmix.fitted`

,
`depmix.fitted`

,