as.matrix.textreuse_candidates: Convert candidates data frames to other formats

View source: R/conversion-functions.R

as.matrix.textreuse_candidatesR Documentation

Convert candidates data frames to other formats

Description

These functions convert a textreuse_candidates object to dense or sparse matrices.

Usage

## S3 method for class 'textreuse_candidates'
as.matrix(x, ...)

as_sparse_matrix(x)

Arguments

x

An object of class textreuse_candidates.

...

Additional arguments.

Value

A similarity matrix with row and column names containing document IDs.


textreuse documentation built on July 26, 2026, 1:06 a.m.