split_dfm | R Documentation |
Splits a document term matrix according to the provided splitIndex
. Outputs a list of
two sections: the first that belongs to the splitIndex
, and the second that does not.
split_dfm(dfm, splitIndex)
dfm |
[matrix] Output of |
splitIndex |
[vector] Vector of strings denoting the row values to split on. |
[list] List of two parts of the document term matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.