rai: Rainfall Anomaly Index

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/rai.r

Description

Calculates the Rainfall Anomaly Index (RAI) on a daily or monthly precipitation serie.

Usage

1
rai(object, granularity = "m")

Arguments

object

a daily or monthly precipitation serie.

granularity

the granularity applied for calculating the rainfall anomaly index, which should be either "m" for monthly granularity or "a" for annual granularity. (Default value: "m")

Value

A data.frame (precintcon.rai) containing the following variables:

Author(s)

Lucas Venezian Povoa lucasvenez@gmail.com

References

Van Rooy, M. P. "A rainfall anomaly index independent of time and space." Notos 14.43 (1965): 6.

See Also

pplot.rai read.data

Examples

1
2
3
4
5
6
7
##
# Loading the monthly precipitation serie.
data(monthly)

##
# Performing the Rainfall Anomaly Index analysis
rai(monthly, granularity = "m")

lucasvenez/precintcon documentation built on May 21, 2019, 8:53 a.m.