tidy_dgcmatrix {tidylda}R Documentation

Create a tidy tibble for a dgCMatrix

Description

Create a tidy tibble for a dgCMatrix. Will probably be a PR to tidytext in the future

Usage

tidy_dgcmatrix(x, ...)

Arguments

x

must be of class dgCMatrix

...

Extra arguments, not used

Value

Returns a triplet matrix with columns "document", "term", and "count"


[Package tidylda version 0.0.5 Index]