as.decade {precintcon} | R Documentation |
It converts a daily, monthly or annual precipitation serie to a decade serie.
as.decade(object)
object |
a precintcon.daily, precintcon.monthly, precintcon.seasonal, precintcon.annual object or a data.frame containing 33 or 3 columns. |
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.
A data.frame (precintcon.decade) containing the following variables:
year
is the year.
precipitation
is the decade's precipitation in millimeters.
Lucas Venezian Povoa lucasvenez@gmail.com
as.precintcon.annual
as.precintcon.seasonal
as.precintcon.monthly
as.precintcon.daily
##
# Loading the daily precipitation serie.
data(daily)
##
# Converting precipitation
as.decade(daily)