Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

depthWeights

Return a vector of contributing fractions over a depth interval


Description

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

Usage

depthWeights(top, bottom, upper, lower)

Arguments

top

A numeric vector of horizon top depths.

bottom

A numeric vector of horizon bottom depths.

upper

A unit length numeric vector with upper boundary.

lower

A unit length numeric vector with lower boundary.

Value

A named list.

Author(s)

Andrew G. Brown.


aqp

Algorithms for Quantitative Pedology

v1.29
GPL (>= 3)
Authors
Dylan Beaudette [aut, cre], Pierre Roudier [aut, ctb], Andrew Brown [aut, ctb]
Initial release
2021-04-05

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.