replaceWPX: Replace picks in WPX file

Description Usage Arguments Details Value Note Author(s) See Also Examples

View source: R/replaceWPX.R

Description

Replace pick in WPX file

Usage

1
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<[email protected]>

See Also

addWPX, catWPX, deleteWPX, selWPX

Examples

1
2
3
4
5
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 May 29, 2017, 10:38 p.m.