as.annual: Converting to seasonal precipitation serie.

Description Usage Arguments Value Author(s) See Also Examples

Description

Converts a daily, monthly, or seasonal precipitation serie to an annual serie.

Usage

1
as.annual(object)

Arguments

object

a precintcon.daily, precintcon.monthly, or precintcon.seasonal object or a data.frame containing 33 or 3 columns.

Value

A data.frame (precintcon.annual) containing the following variables:

Author(s)

Lucas Venezian Povoa lucasvenez@gmail.com

See Also

as.daily as.monthly as.seasonal pplot.lorenz read.data

Examples

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

##
# Converting precipitation
as.annual(daily)

Example output

Loading required package: ggplot2
Loading required package: scales

Attaching package: 'precintcon'

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

    stat

   year precipitation
1  1976        1595.7
2  1977        1263.4
3  1978        1098.0
4  1979        1130.0
5  1980        1501.5
6  1981        1224.6
7  1982        1823.6
8  1983        1753.8
9  1984        1060.0
10 1985         977.0
11 1986        1490.3
12 1987        1255.9
13 1988        1150.2
14 1989        1490.9
15 1990        1351.0
16 1991        1027.0
17 1992        1458.4
18 1993        1211.2
19 1994        1175.6
20 1995        1509.0
21 1996        1511.3
22 1997        1693.7
23 1998        1651.2
24 1999        1540.2
25 2000        1411.2
26 2001        1119.5
27 2002        1334.3
28 2003        1022.0
29 2004         996.4
30 2005        1417.0
31 2006        1023.8
32 2007        1415.5
33 2008         921.0
34 2009        1503.5
35 2010        1237.4

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