calc_psp {OBIC}R Documentation

Calculate the precipitation surplus

Description

This function calculates the precipitation surplus (in mm / ha) given the crop rotation plan.

Usage

calc_psp(B_LU_BRP, M_GREEN)

Arguments

B_LU_BRP

(numeric) The crop code from the BRP

M_GREEN

(boolean) A soil measure. Are catch crops sown after main crop (optional, options: TRUE, FALSE)

Value

The estimated precipitation surplus (in mm / ha) depending on averaged precipitation and evaporation. A numeric value.

Examples

calc_psp(B_LU_BRP = 265, M_GREEN = TRUE)
calc_psp(B_LU_BRP = c(265,1019,265,1019), M_GREEN = rep(TRUE,4))


[Package OBIC version 3.0.2 Index]