Learn R Programming

CEGO (version 2.4.3)

distanceRealEuclidean: Euclidean Distance

Description

The Euclidean distance for real vectors.

Usage

distanceRealEuclidean(x, y)

Value

numeric distance value $$d(x,y)$$

Arguments

x

first real vector

y

second real vector

Examples

Run this code
x <- runif(5)
y <- runif(5)
distanceRealEuclidean(x,y)

Run the code above in your browser using DataLab