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

Description Usage Arguments Value

View source: R/conversion-functions.R

Description

These S3 methods convert a textreuse_candidates object to a matrix.

Usage

1
2
## S3 method for class 'textreuse_candidates'
as.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 8, 2020, 6:40 p.m.