Rdocumentation
powered by
Learn R Programming
CONFESS (version 1.0.2)
distfromcenter: distfromcenter
Description
It calculates the Eucledian distance between two 2-dimensional locations.
Usage
distfromcenter(data, center)
Arguments
data
Data matrix. A 2-dimensional location.
center
Data matrix. A second 2-dimensional location.
Value
The Eucledian distance between the two locations