Skip to content
Prev 343275 / 398506 Next

Euclidean Distance in 3 Dimensions

?dist

from the help

dist {stats}	R Documentation
Distance Matrix Computation

Description

This function computes and returns the distance matrix computed by using the specified distance measure to compute the distances between the rows of a data matrix.

Is this what you want?  Computing on a matrix whose rows are your x, y, and z values?
On Aug 20, 2014, at 1:12 PM, Patzelt, Edward <patzelt at g.harvard.edu> wrote:

            
Don McKenzie
Research Ecologist
Pacific Wildland Fire Sciences Lab
US Forest Service

Affiliate Professor
School of Environmental and Forest Sciences
University of Washington
dmck at uw.edu