Learn R Programming

precintcon (version 2.1)

as.daily: Convert a data.frame to a precintcon.daily.

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:
    • yearis the year.
    • monthis the month.
    • d1is the precipitation value in millimeters of the 1st day of the month.
    • d2is the precipitation value in millimeters of the 2nd day of the month.
    • d3is the precipitation value in millimeters of the 3rd day of the month.
    • d4is the precipitation value in millimeters of the 4th day of the month.
    • d5is the precipitation value in millimeters of the 5th day of the month.
    • d6is the precipitation value in millimeters of the 6th day of the month.
    • d7is the precipitation value in millimeters of the 7th day of the month.
    • d8is the precipitation value in millimeters of the 8th day of the month.
    • d9is the precipitation value in millimeters of the 9th day of the month.
    • d10is the precipitation value in millimeters of the 10th day of the month.
    • d11is the precipitation value in millimeters of the 11th day of the month.
    • d12is the precipitation value in millimeters of the 12th day of the month.
    • d13is the precipitation value in millimeters of the 13th day of the month.
    • d14is the precipitation value in millimeters of the 14th day of the month.
    • d15is the precipitation value in millimeters of the 15th day of the month.
    • d16is the precipitation value in millimeters of the 16th day of the month.
    • d17is the precipitation value in millimeters of the 17th day of the month.
    • d18is the precipitation value in millimeters of the 18th day of the month.
    • d19is the precipitation value in millimeters of the 19th day of the month.
    • d20is the precipitation value in millimeters of the 20th day of the month.
    • d21is the precipitation value in millimeters of the 21th day of the month.
    • d22is the precipitation value in millimeters of the 22th day of the month.
    • d23is the precipitation value in millimeters of the 23th day of the month.
    • d24is the precipitation value in millimeters of the 24th day of the month.
    • d25is the precipitation value in millimeters of the 25th day of the month.
    • d26is the precipitation value in millimeters of the 26th day of the month
    • d27is the precipitation value in millimeters of the 27th day of the month.
    • d28is the precipitation value in millimeters of the 28th day of the month.
    • d29is the precipitation value in millimeters of the 29th day of the month.
    • d30is the precipitation value in millimeters of the 30th day of the month.
    • d31is 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