Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

textstat_proxy-class

textstat_simil/dist classes


Description

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

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

Print/show method for objects created by textstat_simil and textstat_dist.

Usage

validate_min_simil(object)

## S4 method for signature 'textstat_proxy'
show(object)

Arguments

object

the textstat_proxy object to be printed

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


quanteda.textstats

Textual Statistics for the Quantitative Analysis of Textual Data

v0.94.1
GPL-3
Authors
Kenneth Benoit [cre, aut, cph] (<https://orcid.org/0000-0002-0797-564X>), Kohei Watanabe [aut] (<https://orcid.org/0000-0001-6519-5265>), Haiyan Wang [aut] (<https://orcid.org/0000-0003-4992-4311>), Jiong Wei Lua [aut], Jouni Kuha [aut] (<https://orcid.org/0000-0002-1156-8465>), European Research Council [fnd] (ERC-2011-StG 283794-QUANTESS)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.