approx.rss {Rvelslant} | R Documentation |
Only to be used by autopick
. Finds the approximate residual sum
of squares as a function of an added interface, newZ
. Note that
when a model returns a negative velocity, the RSS is calculated as
simply the sum of the travel-time values squared so that it is
guaranteed to be very large relative to the other RSS, so that these
models will never be chosen by autopick
.
approx.rss(newZ, mod)
newZ |
depth of new layer interface. |
mod |
the model that the interface is to be added to. Returned
from regress or snellregress . |
approximate residual sum of squares.
Eric M. Thompson <eric.thompson@tufts.edu>
# Used internally by autopick()