Learn R Programming

Rquake (version 2.4-4)

MeanStaDist: Mean Station Distance

Description

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

Usage

MeanStaDist(Ldat)

Arguments

Ldat

station list with elements of Lat-Lon

Value

scalar

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
# NOT RUN {
# }
# NOT RUN {
library(RSEIS)
data(GH)
MeanStaDist(GH$pickfile$STAS)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab