euclidean: Calculate Euclidean distance

euclideanR Documentation

Calculate Euclidean distance

Description

Calculate Euclidean distance

Usage

euclidean(x, y, ...)

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

Arguments

x

Object.

y

Object.

...

Additional arguments.

Value

Numeric vector.

Note

Updated 2022-11-21.

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 Nov. 29, 2022, 7:39 a.m.