broom (version 0.4.1)

sparse_tidiers: Tidy a sparseMatrix object from the Matrix package

Description

Tidy a sparseMatrix object from the Matrix package into a three-column data frame, row, column, and value (with zeros missing). If there are row names or column names, use those, otherwise use indices

Usage

"tidy"(x, ...)
"tidy"(x, ...)
"tidy"(x, ...)

Arguments

x
A Matrix object
...
Extra arguments, not used