productivity_indicator {SoilManageR} | R Documentation |
Calculate average productivity
Description
Estimates estimates the relative yield of a cropping sequence per year.
The function takes a management_df
as input and
returns a relative_yield
value per year in the management_df.
Alternatively, it can return a tibble with additional information on each crop.
The productivity_indicator()
calculates the relative yields
with the relative_yield()
function.
Usage
productivity_indicator(var_MGMT_data, extended.output = FALSE)
Arguments
var_MGMT_data |
a management_df that contains the management information |
extended.output |
an optional logical value.
|
Value
By default, a tibble with relative yields by year is returned.
If extended.output = TRUE, a tibble with additional information is returned.
See Also
-
relative_yield()
for caluclating relative yields -
calculate_indicators()
for calculating all soil management indicators
Examples
#example that returns annual relative yield values
productivity_indicator(EXAMPLE_data)
#example that returns a tibble with additional information
productivity_indicator(EXAMPLE_data, extended.output = TRUE)