Learn R Programming

ClimInd (version 0.1-2)

ep: Effective precipitation

Description

Precipitation minus evapotranspiration

Usage

ep(eto, pr, data_names = NULL, time.scale = YEAR, na.rm = FALSE)

Arguments

eto

et0

pr

precipitation

data_names

names of each period of time

time.scale

month, season or year

na.rm

logical. Should missing values (including NaN) be removed?

Value

effective precipitation

Examples

Run this code
# NOT RUN {
data(data_all)
ep(pr = data_all$rr, eto = data_all$evapotranspiration)
# }

Run the code above in your browser using DataLab