addtime: Add time in hour to calendar date/time

Description Usage Arguments Examples

View source: R/collectedfunctions.R

Description

This function allows you to add derived variable (ex: add mean value by ID).

Usage

1
addtime(datetime, timehour, format = "%Y-%m-%d %H:%M", tz = "GMT")

Arguments

datetime

date/time vector to be computed

timehour

Time to be added in hour

format

date and time format

tz

Time zone (default="GMT")

add.to.data

if "yes" result will be appended to dat

name

column name of derived variable

Examples

1

leonpheng/lhtool documentation built on Dec. 16, 2019, 3:52 a.m.