Converts a matrix into a table

Share:

Description

takes a matrix and returns a data frame with the columns being row, column, entry

Usage

1
turn_matrix_into_table(A, uppertriangle = FALSE)

Arguments

A

matrix to be converted

uppertriangle

if true, then will only convert the upper right triangle of matrix

Value

a table with the entries being the row, column, and matrix entry

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.