euclidean: Calculate Euclidean distance

euclideanR Documentation

Calculate Euclidean distance

Description

Calculate Euclidean distance

Usage

euclidean(x, ...)

## S4 method for signature 'numeric'
euclidean(x, y)

Arguments

x

Object.

y

Object.

...

Additional arguments.

Value

numeric.

Note

Updated 2023-09-11.

See Also

  • https://www.statology.org/euclidean-distance-in-r/

Examples

## numeric ====
x <- seq(from = 1L, to = 5L, by = 1L)
y <- seq(from = 6L, to = 10L, by = 1L)
euclidean(x = x, y = y)

acidgenomics/acidbase documentation built on Jan. 26, 2024, 4:26 p.m.