Learn R Programming

quanteda (version 1.3.13)

as.dist.dist: Coerce a dist into a dist

Description

Internal function to guarantee that a dist remains a dist, if for some reason a user wants to coerce a dist into a dist.

Usage

# S3 method for dist
as.dist(m, diag = FALSE, upper = FALSE)

Arguments