Learn R Programming

precintcon (version 2.3.0)

as.annual: Converting to seasonal precipitation serie.

Description

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

Usage

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:
  • year is the year.
  • precipitation is the precipitation amount in millimeters.

See Also

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

Examples

Run this code
##
# Loading the daily precipitation serie.
data(daily)

##
# Converting precipitation
as.annual(daily)

Run the code above in your browser using DataLab