Description Usage Arguments Value
View source: R/textstat_simil.R
For a similarity or distance object computed via textstat_simil or
textstat_dist, returns the first or last n
rows.
1 2 3 4 5 |
x |
a textstat_simil/textstat_dist object |
n |
a single, positive integer. If positive, size for the resulting object: number of first/last documents for the dfm. If negative, all but the n last/first number of documents of x. |
... |
unused |
A matrix corresponding to the subset defined
by n
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.