clusterWPX {Rquake} | R Documentation |
Cluster Analysis of Picks
Description
Given a pick file in WPX format, break the picks apart clustered accoring to single link cluster analysis.
Usage
clusterWPX(twpx, tol = 200, PLOT = FALSE)
Arguments
twpx |
WPX list |
tol |
tolerance in seconds - all pick distances less than tol will be set to zero to force these to be associated. |
PLOT |
logical, if TRUE, add verbose plotting |
Details
If there is not significant separation of picks, only one cluster is returned. To avoid spurious clusters, increase the tolerance.
Value
list of WPX lists
Note
Cluster depends on what one considers a cluster.
Author(s)
Jonathan M. Lees<jonathan.lees@unc.edu>
See Also
RSEIS::addWPX, RSEIS::catWPX, RSEIS::checkWPX,RSEIS::cleanWPX, PCsaveWPX, RSEIS::setWPX, RSEIS::repairWPX
Examples
s1 = RSEIS::setWPX(name="HI", yr=2011, jd=231, hr=4, mi=3, sec = runif(5))
s2 = RSEIS::setWPX(name="HI", yr=2011, jd=231, hr=5, mi=2, sec = runif(5))
s3 = RSEIS::catWPX(s1,s2)
twpx = data.frame(s3)
L3 = clusterWPX(twpx)
[Package Rquake version 2.5-1 Index]