Rdocumentation
powered by
Learn R Programming
StatRank (version 0.0.6)
turn_matrix_into_table: Converts a matrix into a table
Description
takes a matrix and returns a data frame with the columns being row, column, entry
Usage
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