Learn R Programming

precintcon (version 2.1)

as.seasonal: Convert a precipitation serie to an seasonal serie

Description

Converts a daily or monthly precipitation serie to a seasonal serie.

Usage

as.seasonal(object)

Arguments

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

Value

  • A data.frame (precintcon.seasonal) containing the following variables:
    • yearis the year.
    • seasonis the season.
    • precipitationis 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.seasonal(daily)

Run the code above in your browser using DataLab