dist_chebyshev: Chebyshev distance

View source: R/utils.R

dist_chebyshevR Documentation

Chebyshev distance

Description

Chebyshev distance

Usage

dist_chebyshev(x, diag = FALSE, upper = FALSE)

Arguments

x

a numeric matrix or data frame.

diag

logical value indicating whether the diagonal of the distance matrix should be printed by print.dist.

upper

logical value indicating whether the upper triangle of the distance matrix should be printed by print.dist .

Value

Chebyshev distance returns an object of class "dist".

Examples


x <- matrix(rnorm(100), nrow = 5)
dist_chebyshev(x)


beadplexr documentation built on July 9, 2023, 5:59 p.m.