as.matrix.simil.Rdas.matrix.simil coerces an object returned from
`textstat_simil()` into a matrix
# S3 method for simil as.matrix(x, diag = 1, ...)
| diag | the value to use on the diagonal representing self-similarities |
|---|---|
| ... | unused |
Because for the similarity methods implemented in quanteda, the
similarity of an object with itself will be 1.0, diag defaults to
this value. This differs the default diag = NA in
as.matrix.simil in the proxy package.