ppt_calibration {cropDemand} | R Documentation |
This fuction will calibrate the rainfall (ppt) from TerraClimate dataset based in the relationship with observed weather stations data.
ppt_calibration(slope, intercept, ppt_stack)
slope |
the slope of the linear regression (numeric). |
intercept |
the intercept of the linear regression (numeric). |
ppt_stack |
stack of ppt. |
Returns a Rasterstack of ppt calibrated.
## Not run:
ppt_cal<- ppt_calibration(slope = 0.7000972,
intercept = 23.753785, ppt_stack = ppt);
## End(Not run)