View source: R/productivity_indicator.R
productivity_indicator | R Documentation |
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.
productivity_indicator(var_MGMT_data, extended.output = FALSE)
var_MGMT_data |
a management_df that contains the management information |
extended.output |
an optional logical value.
|
By default, a tibble with relative yields by year is returned.
If extended.output = TRUE, a tibble with additional information is returned.
relative_yield()
for caluclating relative yields
calculate_indicators()
for calculating all soil management indicators
#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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.