Print the diagonal of a matrix

diag_show(mat, fill = "", row.names = TRUE)

Arguments

mat

input matrix

fill

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

row.names

display row names