R: textstat_simil/dist classes

textstat_proxy-class {quanteda.textstats} | R Documentation

## 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

`textstat_simil()`

`textstat_simil()`

[Package quanteda.textstats version 0.94.1 Index]