distfromcenter

Description

It calculates the Eucledian distance between two 2-dimensional locations.

Usage

1

Arguments

data

Data matrix. A 2-dimensional location.

center

Data matrix. A second 2-dimensional location.

Value

The Eucledian distance between the two locations

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.