Description Usage Arguments Value See Also Examples
For a dfm object, returns a frequency for each feature, computed
across all documents in the dfm. This is equivalent to colSums(x)
.
1 | featfreq(x)
|
x |
a dfm |
a (named) numeric vector of feature frequencies
1 2 | dfmat <- dfm(data_char_sampletext)
featfreq(dfmat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.