Learn R Programming

metacoder (version 0.1.2)

molten_dist: Get all distances beween points

Description

Returns the distances bewteen 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)
# ## End(Not run)

Run the code above in your browser using DataLab