plant_diversity {SoilManageR} | R Documentation |
Calculate plant diversity indicators
Description
Derives three indicators for plant diversity of a crop rotation based on management information (mainly sowing events).
Usage
plant_diversity(var_MGMT_data, start_year, end_year)
Arguments
var_MGMT_data |
a 'management_df' with a management history |
start_year |
start year of the cropping sequence of interest |
end_year |
end year of the cropping sequence of interest |
Details
For the function to work properly the species (or variety) must be mentioned
in the "product" column, and all sown species of mixtures must be
represented in a single row of the management_df
each.
The function calculates the crop diversity index (CDI
), the total
number of different species, and the Shannon index for all sown species.
The CDI
is calculated in the following way inspired by
Tiemann et al. (2015):
CDI = \overline{S_{year}} * S_{rotation}
where \overline{S_{year}}
is the average number of sown species per
year and S_{rotation}
is the total number of different species
sown in the full crop rotation or cropping sequence.
The Shannon Index is calculated with the shannon_index()
function.
Value
a tibble with three indicators for plant diversity
References
Tiemann LK, Grandy AS, Atkinson EE, Marin-Spiotta E, McDaniel MD (2015). “Crop rotational diversity enhances belowground communities and functions in an agroecosystem.” Ecology Letters, 18(8), 761-771. doi:10.1111/ele.12453.
See Also
-
calculate_indicators()
to calculate all management indicators for amanagement_df
-
shannon_index()
for more detail on the Shannon index
Examples
plant_diversity(EXAMPLE_data,2013,2020)