approx.rss {Rvelslant}R Documentation

Approximate Residual Sum of Squares

Description

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.

Usage

approx.rss(newZ, mod)

Arguments

newZ depth of new layer interface.
mod the model that the interface is to be added to. Returned from regress or snellregress.

Value

approximate residual sum of squares.

Author(s)

Eric M. Thompson <eric.thompson@tufts.edu>

See Also

autopick

Examples

# Used internally by autopick()


[Package Rvelslant version 0.2-3 Index]