Cluster Analysis of Picks

Share:

Description

Given a pick file in WPX format, break the picks apart clustered accoring to single link cluster analysis.

Usage

1
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

addWPX, catWPX, checkWPX,cleanWPX,PCsaveWPX, setWPX, repairWPX

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
s1 = setWPX(name="HI", yr=2011, jd=231, hr=4, mi=3, sec = runif(5)) 

s2 = setWPX(name="HI", yr=2011, jd=231, hr=5, mi=2, sec = runif(5)) 


s3 = catWPX(s1,s2)

L3 = clusterWPX(s3)


## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.