as.fd {precintcon} | R Documentation |
Frequency distribution of a precipitation serie
Description
Calculates the frequency distribution of a daily precipitation
serie based on interval
.
Usage
as.precintcon.fd(object, interval = 1)
Arguments
object |
a daily precipitation serie. |
interval |
the interval in millimeters for calculating the frequency distribution. |
Value
A data.frame (precintcon.fd) containing the following variables:
-
initial.class
is the initial value of the class. -
final.class
is the final value of the class. -
midpoint
is the middle point of the class. -
n
is the absolute freqnecy, i.e., the number of days in each class. -
sum.n
is the cumulative frequency, obtained by adding the absolute frequencies of all the classes up to the one under consideration. -
P
is the pluviometric total of each class, obtained by multiplyingmidpoint
byn
. -
sum.P
is the cummulative class's pluviometric total, obtained by adding the pluviometric total of all the classes up to the one under consideration. -
p.sum.n
is the cumulative percentage of rainy days. -
p.sum.P
is the cumulative percentage of rainfall amounts.
Author(s)
Lucas Venezian Povoa lucasvenez@gmail.com
See Also
Examples
##
# Loading the daily precipitation serie
data(daily)
##
# Performing the frequency distribution
as.precintcon.fd(daily)