calc_psp: Calculate the precipitation surplus

View source: R/precipitation_surplus.R

calc_pspR 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))


OBIC documentation built on Sept. 12, 2024, 7:02 a.m.