Learn R Programming

quanteda (version 1.1.1)

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

Description

Coerces a simil object, which is a specially classed dist object, into a matrix.

Usage

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

Arguments

x

a simil object from textstat_simil

Diag

sets the value for matrix diagonal

...

unused