Learn R Programming

PVplr (version 0.1.2)

ip_num_time: Numerical time interim predictor.

Description

Convert the hour and minute component of each timestamp to a numerical representation.

Usage

ip_num_time(data, ts_col = "timestamp")

Value

data with a num_time column added.

Arguments

data

A dataframe with a timestamp column.

ts_col

The timestamp column name in data. Default value is 'timestamp'.

Author

Arash Khalilnejad