Skip to contents

This function calculates a soil organic carbon index.

Usage

osi_carbon(B_LU, A_C_OF, B_BGZ, A_CLAY_MI, A_SAND_MI, B_COUNTRY)

Arguments

B_LU

(numeric) The crop code

A_C_OF

(numeric) The organic carbon content in the soil (g C / kg)

B_BGZ

(factor) an European region-id used for carbon analyses

A_CLAY_MI

(numeric) The clay content of the soil (%)

A_SAND_MI

(numeric) The sand content of the soil (%)

B_COUNTRY

(character) The country code

Value

The carbon index. A numeric value.

Examples

osi_carbon(B_LU = '165',A_C_OF = 25, B_BGZ = '4',A_CLAY_MI=5,A_SAND_MI=25,B_COUNTRY='DE')
#> [1] NA