as.matrix.simil coerces an object returned from
'textstat_simil()' into a matrix
the value to use on the diagonal representing self-similarities
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.