addtime: Add time in hour to calendar date/time

View source: R/collectedfunctions.R

addtimeR Documentation

Add time in hour to calendar date/time

Description

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

Usage

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


leonpheng/lhtool2 documentation built on April 13, 2025, 5:42 p.m.