Sparse classes for similarity and distance matrices created by quanteda.textstats::textstat_simil() and quanteda.textstats::textstat_dist().

validate_min_simil(object)

Slots

.Data

a sparse Matrix object, symmetric if selection is NULL

method

the method used for computing similarity or distance

min_simil

numeric; a threshold for the similarity values below which similarity values are not computed

margin

identifies the margin of the dfm on which similarity or difference was computed: "documents" for documents or "features" for word/term features.

type

either "textstat_simil" or "textstat_dist"

selection

target units, if any

See also