turn_matrix_into_table {StatRank}R Documentation

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


[Package StatRank version 0.0.6 Index]