replaceWPX: Replace picks in WPX file

View source: R/replaceWPX.R

replaceWPXR Documentation

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 documentation built on Aug. 19, 2023, 5:07 p.m.