trRmDuplicates | R Documentation |
checks for duplicates trace positions (up to precision defined by 'tol') and remove them from 'x' (object of the class GPR or GPRsurvey). If there is a series of consecutive traces with an inter-distance smaller than the tolerance threshold defined by the computer precision, the function starts by removing traces every two traces and repeat the procedure until the trace inter-distances are larger that the threshold. Example with 5 traces:
distance between trace 1 and 2 < tol
distance between trace 2 and 3 < tol
distance between trace 3 and 4 < tol
distance between trace 4 and 5 < tol
The algorithm first remove trace 2 and 4 and recompute the inter-trace distances:
distance between trace 1 and 3 < tol
distance between trace 3 and 5 > tol
The algorithm remove trace 3. END!
## S4 method for signature 'GPR'
trRmDuplicates(x, tol = NULL, verbose = TRUE)
x |
An object of the class GPR |
tol |
Length-one numeric vector: if the horizontal distance between two
consecutive traces is smaller than |
verbose |
Logical. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.