pplot.histogram: Plot histogram

Description Usage Arguments Author(s) See Also Examples

View source: R/pplot.histogram.r

Description

Plots the histogram of a precipitation serie.

Usage

1
2
3
4
5
pplot.histogram(..., density = FALSE, xlab = "Precipitation (mm)", 
ylab = "Frequency", legend.title = "Legend", 
legend = NULL, fontsize = 10, axis.text.color = "black", 
export = FALSE, export.name = "histogram_plot.png", 
width = 10, height = 10, units = "cm")

Arguments

density

the logical value for defining whether the graph should be plotted with bars or lines. (Default value: FALSE)

xlab

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

ylab

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

legend.title

the text for the legend title. (Default value: "Legend")

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: "histogram_plot.png")

width

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

height

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

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

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.histogram(daily)

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