turn_matrix_into_table: Converts a matrix into a table

Description Usage Arguments Value

View source: R/Helpers.R

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


StatRank documentation built on May 29, 2017, 11:23 a.m.

Search within the StatRank package
Search all R packages, documentation and source code