metacoder (version 0.3.3)

molten_dist: Get all distances between points

Description

Returns the distances between every possible combination of two points.

Usage

molten_dist(x, y)

Arguments

x

(numeric of length 1) x coordinate

y

(numeric of length 1) y coordinate

Value

A data.frame

Examples

Run this code
# NOT RUN {
molten_dist(x = 1:5, y = 1:5)
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace