precintcon (version 2.3.0)

as.monthly: Convert a daily precipitation serie to a monthly serie

Description

Converts a daily precipitation serie to a monthly serie.

Usage

as.monthly(object)

Arguments

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

Value

A data.frame (precintcon.monthly) containing the following variables:
  • year is the year.
  • month is the month.
  • precipitation is the precipitation amount in millimeters.

See Also

pplot.lorenz read.data

Examples

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

## Converting precipitation
#
as.monthly(daily)

Run the code above in your browser using DataLab