soil depth (in meters). If missing then the whole soil profile is used.
area
either ‘m2’ meter squared or ‘ha’.
method
interpolation method. Either ‘linear’ or ‘constant’.
...
additional arguments passed to internal functions (none used at the moment).
Value
returns a value with attribute ‘units’ and ‘depth’
Details
Function to calculate carbon stocks. The output units depend on the choice of area.
If ‘m2’ is used, then the output units will be ‘kg/m2’. If the ‘area’
is ‘ha’, then the output units will be ‘Mg/ha’.