Learn R Programming

quanteda.textstats (version 0.97.2)

as.matrix,textstat_simil_sparse-method: as.matrix method for textstat_simil_sparse

Description

as.matrix method for textstat_simil_sparse

Usage

# S4 method for textstat_simil_sparse
as.matrix(x, omitted = NA, ...)

# S4 method for textstat_simil_symm_sparse as.matrix(x, omitted = NA, ...)

Value

a matrix object

Arguments

x

an object returned by textstat_simil when min_simil > 0

omitted

value that will replace the omitted cells

...

unused