tidy_dgcmatrix: Create a tidy tibble for a dgCMatrix

View source: R/utils.R

tidy_dgcmatrixR 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"


tidylda documentation built on July 26, 2023, 5:34 p.m.