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


ecor/RMAWGEN documentation built on Aug. 16, 2024, 3:27 a.m.