as.matrix method for textstat_simil_sparse

# 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