Calculate cumulative mass
pb210_cumulative_mass(masses, position = 0.5)
masses | A vector of sequential masses |
---|---|
position | 0 for the cumulative mass at the top of the section and 1 for the cumulative mass at the bottom of the section (0.5 for the middle, which is the default). |
A vector of cumulative masses
#> [1] 0.0 0.1 0.2 0.3#> [1] 0.05 0.15 0.25 0.35#> [1] 0.1 0.2 0.3 0.4