Learn R Programming

multivar (version 1.1.0)

plot_transition_mat: Plot arbitrary transition matrix.

Description

Plot arbitrary transition matrix.

Usage

plot_transition_mat(x, title = NULL, subtitle = NULL, ub = 1, lb = -1)

Arguments

x

Matrix. An arbitrary transition matrix.

title

Character. A title for the plot.

subtitle

Character. A subtitle for the plot.

ub

Numeric. Upper bound on coefficient values for heatmap index. Default is 1.

lb

Numeric. Lower bound on coefficient values for heatmap index. Default is -1.

Examples

Run this code
# NOT RUN {
plot_transition_mat(matrix(rnorm(25),5,5), title= "Example")

# }

Run the code above in your browser using DataLab