Print the lower or upper triangular part of a matrix flextable

tri_print(
  mat,
  triangle = "lower",
  fill = "",
  as.image = TRUE,
  row.names = TRUE
)

Arguments

mat

input matrix

triangle

specify upper or lower in quotes

fill

what to fill the other part of the matrix (defaults to "")

as.image

print it as a image (flextable)

row.names

display row names