convert_dtm | R Documentation |
dgCMatrix
to work with various functions
and methodsPresently, tidylda
makes heavy usage of the dgCMatrix
class.
However, a user may have created a DTM (or TCM) in one of several classes.
Since data could be in several formats, this function converts them to a
dgCMatrix
before passing them along.
convert_dtm(dtm)
dtm |
the data you want to convert |
an object of class dgCMatrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.