dist_chebyshev {beadplexr}R 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)


[Package beadplexr version 0.5.0 Index]