Learn R Programming

Rquake (version 2.5-1)

MeanStaDist: Mean Station Distance

Description

calculate the mean km distance of a set of Lat-lon pairs

Usage

MeanStaDist(Ldat)

Value

scalar

Arguments

Ldat

station list with elements of Lat-Lon

Author

Jonathan M. Lees<jonathan.lees@unc.edu>

Details

Given a list with elements named lat and lon, find the mean station distance.

See Also

setPROJ, GLOB.XY, dist

Examples

Run this code

data(GH, package='RSEIS')
MeanStaDist(GH$pickfile$STAS)

Run the code above in your browser using DataLab