Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

replaceWPX

Replace picks in WPX file


Description

Replace pick in WPX file

Usage

replaceWPX(WPX, onepx , ind=1)

Arguments

WPX

WPX list

onepx

WPX list with one pick

ind

integer, index to replace

Details

Replaces one pick at index provided.

Value

WPX list

Note

Replaces in the location provided. No test is made to determine if there is a pick already there. Maybe future versions will allow multiple replacements.

Author(s)

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

See Also

addWPX, catWPX, deleteWPX, selWPX

Examples

s1 <- setWPX(name="HI", yr=2011, jd=231, hr=4, mi=3, sec = runif(5)) 
s2 <- setWPX(name="HI", yr=2011, jd=231, hr=4, mi=3, sec = runif(1)) 


s4 <- replaceWPX(s1,s2, ind=4)

RSEIS

Seismic Time Series Analysis Tools

v3.9-3
GPL (>= 2)
Authors
Jonathan M. Lees [aut, cre], Jake Anderson [ctb], Leonard Lisapaly [ctb], Dave Harris [aut, cph]
Initial release
2020-08-25

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.