Learn R Programming

evapoRe (version 1.0.1)

hamon: Calculate Potential Evapotranspiration (PET) using Hamon method

Description

The function hamon computes PET using the Hamon method.

Usage

hamon(x)

# S4 method for Raster hamon(x)

# S4 method for character hamon(x)

# S4 method for data.table hamon(x)

Value

RasterBrick or data.table of PET values (mm/day)

Arguments

x

Raster* object, character file path, or data.table (see details)

Details

For Raster input, provide a raster object or file path for average temperature. For `data.table` input, provide a table with columns: "lon", "lat", "date", and "tavg".