quanteda (version 1.5.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, ...)

Arguments

x

an object returned by textstat_simil when min_simil > 0

omitted

value that will replace the omitted cells

...

unused

Value

a matrix object