as.decade {precintcon}R Documentation

Converting a precipitation serie to a decade serie

Description

It converts a daily, monthly or annual precipitation serie to a decade serie.

Usage

as.decade(object)

Arguments

object

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

Details

It excludes no complete decades for converting the serie, e.g., a serie starting in 1977 and finishing in 2008 will have the year 1977 to 1979 and 2000 to 2008 excluded, resulting into a serie of the years 1980 and 1990.

Value

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

Author(s)

Lucas Venezian Povoa lucasvenez@gmail.com

See Also

as.precintcon.annual as.precintcon.seasonal as.precintcon.monthly as.precintcon.daily

Examples

##
# Loading the daily precipitation serie.
data(daily)

##
# Converting precipitation
as.decade(daily)

[Package precintcon version 2.3.0 Index]