plot_transition_mat: Plot arbitrary transition matrix.

View source: R/plot_transition_mat.R

plot_transition_matR Documentation

Plot arbitrary transition matrix.

Description

Plot arbitrary transition matrix.

Usage

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

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.

legend

Logical. Should a legend be included.

dimnames

Logical. Should variable names be included.

Examples


plot_transition_mat(matrix(rnorm(25),5,5), title= "Example")


zackfisher/multivar documentation built on Sept. 25, 2024, 3:16 a.m.