as.matrix.textreuse_candidates: Convert candidates data frames to other formats
Description
These functions convert a textreuse_candidates object to dense or
sparse matrices.
Usage
# S3 method for textreuse_candidates
as.matrix(x, ...)as_sparse_matrix(x)
Value
A similarity matrix with row and column names containing document IDs.
Arguments
- x
An object of class textreuse_candidates.
- ...
Additional arguments.