View source: R/collectedfunctions.R
addtime | R Documentation |
This function allows you to add derived variable (ex: add mean value by ID).
addtime(datetime, timehour, format = "%Y-%m-%d %H:%M", tz = "GMT")
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.