relative_yield: Calculate relative yield

View source: R/relative_yield.R

relative_yieldR Documentation

Calculate relative yield

Description

This function calculates the relative yield of an observed dry matter yield compared to the reference dry matter yield in the Swiss fertilizing guidelines \insertCiteGRUD2017_ch8SoilManageR.

Usage

relative_yield(var_crop, var_yield)

Arguments

var_crop

string with name of crop type, must match with the Crops in the C_input_crops_LUT

var_yield

observed dry matter yield (tDM/ha)

Value

the numeric value for the relative yield

References

\insertAllCited

See Also

  • productivity_indicator() to calculate relative yields for a management_df

  • C_input_crops_LUT() for reference yield used in the relative_yield() function

Examples

relative_yield("wheat, winter", 4.8)

SoilManageR documentation built on June 8, 2025, 9:36 p.m.