precintcon (version 2.3.0)

as.daily: Converting a data.frame to a daily precipitation serie

Description

Converts a data.frame to a precintcon.daily.

Usage

as.daily(object, na.value = NA)

Arguments

object
a precintcon.daily or a data.frame containing 33 columns.
na.value
the value used for representing non-existent values (Default value: NA).

Value

A data.frame (precintcon.daily) containing the following variables:
  • year is the year.
  • month is the month.
  • d1 is the precipitation value in millimeters of the 1st day of the month.
  • d2 is the precipitation value in millimeters of the 2nd day of the month.
  • d3 is the precipitation value in millimeters of the 3rd day of the month.
  • d4 is the precipitation value in millimeters of the 4th day of the month.
  • d5 is the precipitation value in millimeters of the 5th day of the month.
  • d6 is the precipitation value in millimeters of the 6th day of the month.
  • d7 is the precipitation value in millimeters of the 7th day of the month.
  • d8 is the precipitation value in millimeters of the 8th day of the month.
  • d9 is the precipitation value in millimeters of the 9th day of the month.
  • d10 is the precipitation value in millimeters of the 10th day of the month.
  • d11 is the precipitation value in millimeters of the 11th day of the month.
  • d12 is the precipitation value in millimeters of the 12th day of the month.
  • d13 is the precipitation value in millimeters of the 13th day of the month.
  • d14 is the precipitation value in millimeters of the 14th day of the month.
  • d15 is the precipitation value in millimeters of the 15th day of the month.
  • d16 is the precipitation value in millimeters of the 16th day of the month.
  • d17 is the precipitation value in millimeters of the 17th day of the month.
  • d18 is the precipitation value in millimeters of the 18th day of the month.
  • d19 is the precipitation value in millimeters of the 19th day of the month.
  • d20 is the precipitation value in millimeters of the 20th day of the month.
  • d21 is the precipitation value in millimeters of the 21th day of the month.
  • d22 is the precipitation value in millimeters of the 22th day of the month.
  • d23 is the precipitation value in millimeters of the 23th day of the month.
  • d24 is the precipitation value in millimeters of the 24th day of the month.
  • d25 is the precipitation value in millimeters of the 25th day of the month.
  • d26 is the precipitation value in millimeters of the 26th day of the month
  • d27 is the precipitation value in millimeters of the 27th day of the month.
  • d28 is the precipitation value in millimeters of the 28th day of the month.
  • d29 is the precipitation value in millimeters of the 29th day of the month.
  • d30 is the precipitation value in millimeters of the 30th day of the month.
  • d31 is the precipitation value in millimeters of the 31th day of the month.

See Also

as.decade as.annual as.seasonal as.monthly

Examples

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

##
# Converting precipitation
as.daily(daily)

Run the code above in your browser using DataLab