df2time: df2time

Description Usage Arguments Value Examples

Description

df2time

Usage

1
df2time(precision, df)

Arguments

precision

choice between "daily","hourly","minute","second",...

df

date.frame of the columns year, months,...

Value

The output is a POSIXlt value

Examples

1
2
df <- data.frame(year=rep(2015,5),month=c(1,2,3,4,5),day=c(1,1,1,1,1),hour=c(1,2,3,4,5))
df2time(precision="hourly",df)

jeanmarie-eu/timeManip documentation built on May 30, 2019, 8:06 p.m.