The function baier_robertson
computes PET using the Baier and Robertson method.
baier_robertson(tmax, tmin, x = NULL)# S4 method for Raster,Raster
baier_robertson(tmax, tmin, x = NULL)
# S4 method for character,character
baier_robertson(tmax, tmin, x = NULL)
# S4 method for missing,missing
baier_robertson(x)
RasterBrick or data.table of PET values (mm/day)
Raster* object or file path; maximum temperature (°C)
Raster* object or file path; minimum temperature (°C)
A `data.table` with columns: "lon", "lat", "date", "tmax", "tmin".
For Raster inputs, provide raster objects or file paths for maximum (`tmax`) and minimum (`tmin`) temperature.For `data.table` input, provide a table with columns: "lon", "lat", "date", "tmax", and "tmin".