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.

  • If FALSE, relative yields are aggregated by year.

  • If TRUE, a tibble with relative yield of each crop is returned.

  • Default value is FALSE

Value

See Also

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)


[Package SoilManageR version 1.1.0 Index]