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

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