legitWPX | R Documentation |
Check WPX list for legitimate picks
legitWPX(twpx, quiet=TRUE)
twpx |
pick information list (WPX) |
quiet |
logical, default=TRUE, FALSE generates an error message |
Used internall to test if a WPX list has legitimate picks. Initially a list is generated with NA and 0 values in the place holders. If no legitimate picks are added, the list still exists, but the picks are bogus, so this routine will return 0.
integer: 0=not legitimate, 1=legitimate
Currently only the name is tested for all(NA), but this might be changed int he future for a more sophisticated test.
Jonathan M. Lees<jonathan.lees@unc.edu>
PCsaveWPX
### test fails
library(RSEIS)
jk = RSEIS::cleanWPX()
legitWPX(jk)
#### test passes:
data(GH, package='RSEIS')
gwpx = RSEIS::uwpfile2ypx(GH$pickfile)
legitWPX(gwpx)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.