Learn R Programming

OBIC (version 4.0.0)

calc_psp: 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)

Value

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

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)

Examples

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

Run the code above in your browser using DataLab