adddate {RMAWGEN}R 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


[Package RMAWGEN version 1.3.7 Index]