adddate: Inserts three columns (year,month,day) passing dates to a...

View source: R/adddate.R

adddateR Documentation

Inserts three columns (year,month,day) passing dates to a matrix or to a dataframe

Description

Inserts three columns (year,month,day) passing dates to a matrix or to a dataframe

Usage

adddate(data, origin = "1961-1-1")

Arguments

data

matrix of daily data

origin

character string containing the date of the first row of data as YYYY-MM-DD

Value

a data frame with dates and data values

See Also

findDate


RMAWGEN documentation built on April 12, 2025, 5:07 p.m.