depthWeights() calculates the contributing fraction for each pair of horizon top and bottom depths, given an upper and lower boundary.

depthWeights(top, bottom, upper, lower)

## Arguments

top A numeric vector of horizon top depths. A numeric vector of horizon bottom depths. A unit length numeric vector with upper boundary. A unit length numeric vector with lower boundary.

A named list.

Andrew G. Brown.