add_Time_col {LightLogR} | R Documentation |
Create a Time-of-Day column in the dataset
Description
Create a Time-of-Day column in the dataset
Usage
add_Time_col(
dataset,
Datetime.colname = Datetime,
Time.colname = Time,
output.dataset = TRUE
)
Arguments
dataset |
A light logger dataset. Expects a |
Datetime.colname |
column name that contains the datetime. Defaults to
|
Time.colname |
Name of the newly created column. Expects a |
output.dataset |
should the output be a |
Value
a data.frame
object identical to dataset
but with the added
column of Time-of-Day data, or a vector
with the Time-of-Day-data
Examples
sample.data.environment %>% add_Time_col()