Description Usage Arguments Value See Also Examples
Uses the distance function to calculate dissimilarity statistics by grouping variables.
1 2 | dissimilarity(text.var, grouping.var = NULL,
method = "prop", diag = FALSE, upper = FALSE, p = 2)
|
text.var |
A text variable or word frequency matrix object. |
grouping.var |
The grouping variables. Default NULL generates one word list for all text. Also takes a single grouping variable or a list of 1 or more grouping variables. |
method |
Distance methods (see
|
diag |
logical. If TRUE returns the diagonals of
the matrix. If |
upper |
logical. If TRUE returns the upper triangle of the matrix. |
p |
The power of the Minkowski distance |
Returns a matrix of dissimilarity values (the agreement between text).
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.