pn: Percentage of Normal

Description Usage Arguments Value Author(s) See Also Examples

Description

Calculates the Percentage of Normal (PN) on a daily or monthly precipitation serie.

Usage

1
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:

Author(s)

Lucas Venezian Povoa lucasvenez@gmail.com

See Also

pplot.pn read.data as.daily as.monthly

Examples

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

##
# Performing the Percentage of Normal analysis
pn(monthly)

Example output

Loading required package: ggplot2
Loading required package: scales

Attaching package: 'precintcon'

The following object is masked from 'package:ggplot2':

    stat

   year        pn
1  1979 132.91552
2  1980  89.29194
3  1981  83.48068
4  1982  95.59829
5  1983 131.84015
6  1984 105.61486
7  1985 104.40405
8  1986  77.66096
9  1987 129.09255
10 1988  97.21861
11 1989 100.76644
12 1990 108.31098
13 1991 131.49550
14 1992  99.91079

precintcon documentation built on May 2, 2019, 3:07 p.m.