ip_num_time: Numerical time interim predictor.

View source: R/data_quality.R

ip_num_timeR Documentation

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")

Arguments

data

A dataframe with a timestamp column.

ts_col

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

Value

data with a num_time column added.

Author(s)

Arash Khalilnejad


PVplr documentation built on Feb. 16, 2023, 9:56 p.m.