pplot.rai: Plot Rainfall Anomaly Index

Description Usage Arguments Author(s) References See Also Examples

View source: R/pplot.rai.r

Description

Plots the Rainfall Anomaly Index of a precipitation serie.

Usage

1
2
3
4
5
pplot.rai(..., granularity = "m", xlab = "Month", ylab = "RAI", 
					 ylim = c(-3,3), legend = NULL, fontsize = 10, 
                axis.text.color = "black", export = FALSE, 
					 export.name = "rai_plot.png", width = 8.6, 
				    height = 7.5, units = "cm")

Arguments

granularity

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

xlab

the text for the x axis. (Default value: "Month")

ylab

the text for the y axis. (Default value: "RAI")

ylim

the limits of the y axis. (Default value: c(-3, 3))

legend

the text vector for the legend items. If NULL the legends will be equals to the variable names. (Default value: NULL)

fontsize

the font size value in pt. (Default value: 10)

axis.text.color

the legend colors. (Default value: "black")

export

the logical value for defining whether the graph should be export to a file or not. (Default value: FALSE)

export.name

the text for defining the exported file name. It is only used if export = TRUE. (Default value: "rai_plot.png")

width

the number for defining the exported graph width. It is only used if export = TRUE. (Default value: 8.6)

height

the number for defining the exported graph height. It is only used if export = TRUE. (Default value: 7.5)

units

the text for defining the units of the height and width parameters. It is only used if export = TRUE. (Default value: "cm")

...

a set of daily or monthly precipitation series.

Author(s)

Lucas Venezian Povoa lucasvenez@gmail.com

References

Rooy, M. P. van. A Rainfall anomaly index independent of time and space, Notos. v.14, p.43-48, 1965.

See Also

read.data

Examples

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

##
# Performing the a set of statistical analysis
pplot.rai(daily, granularity = "m")

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