Coerce a dist matrix into a list of selected target terms and similar terms,
in descending order of similarity. Can be used after calling
textstat_simil
or textstat_dist
.
# S3 method for dist
as.list(x, sorted = TRUE, n = NULL, ...)
dist class object
sort results in descending order if TRUE
the top n
highest-ranking items will be returned. If n is
NULL
, return all items.
unused