diag2na: convert same-value pairs to NA in a textstat_proxy object

Description Usage Arguments Value

View source: R/textstat_simil.R

Description

Converts the diagonal, or the same-pair equivalent in an object where the columns have been selected, to NA.

Usage

1

Arguments

x

the return from textstat_simil() or textstat_dist()

Value

sparse Matrix format with same-pair values replaced with NA


koheiw/quanteda.core documentation built on Sept. 21, 2020, 3:44 p.m.