pn {precintcon} | R Documentation |
Percentage of Normal
Description
Calculates the Percentage of Normal (PN) on a daily or monthly precipitation serie.
Usage
pn(object, interval = 30, scale = "a")
Arguments
object |
a daily or monthly precipitation serie. |
interval |
the number of months applied for calculating the percentage of normal. |
scale |
the scale used for calculating the percentage of normal, which should be either "w" for weak (not supported yet), "m" for month, "s" for season, or "d" for decades. |
Value
A data.frame (precintcon.pn) containing the following variables:
-
year
is the year. -
month
is the month. It exists only whether scale = "m". -
pn
is the percentage of normal.
Author(s)
Lucas Venezian Povoa lucasvenez@gmail.com
See Also
pplot.pn
read.data
as.daily
as.monthly
Examples
##
# Loading the monthly precipitation serie.
data(monthly)
##
# Performing the Percentage of Normal analysis
pn(monthly)
[Package precintcon version 2.3.0 Index]