Learn R Programming

ops (version 1.0)

distance: Relative Euclidean Distance from Source

Description

Computes the relative Euclidean distance (i.e., normalized by the respective maxima) of a set of x- and y-coordinates.

Usage

distance(x, y)

Arguments

x
x-coordinates of the data
y
y-coordinates of the data

Value

Returns the set of relative distances obtained from 'x' and 'y'.

Details

References

Ribeca P. and Sammeth M. (under review)

See Also

findP, filter

Examples

Run this code
distance(seq(1,10),seq(1,10))

Run the code above in your browser using DataLab