50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

bioclim (version 0.4.0)

watbal: Function to calculate water balance

Description

Computes water balance from temperature and precipitation data.

Usage

watbal(t, p, lat, CC)

Value

data frame with 12 variables: 'Tmp', 'Pcp', 'PET', 'P_PET', 'ppa', 'ST', 'i_ST', 'ETR', 'Dh', 'S', 'r', 'rP'.

Arguments

t

Monthly average temperature data (12 nueric values).

p

Monthly average precipitation data (12 nueric values).

lat

Latitude in degrees. For southern latitudes use negative values.

CC

Field capacity. It depends on water retention capacity and depth of roots. Use 400 as default value.

Examples

Run this code
watbal(t = rnorm(12, 18, 6), p = rnorm(12, 50, 30),
       lat = 35, CC = 400)

Run the code above in your browser using DataLab