Learn R Programming

quanteda (version 1.5.1)

as.matrix.simil: Coerce a simil object into a matrix

Description

as.matrix.simil coerces an object returned from `textstat_simil()` into a matrix

Usage

# S3 method for simil
as.matrix(x, diag = 1, ...)

Arguments

diag

the value to use on the diagonal representing self-similarities

...

unused