weekhour: Extract hour of the week

Description Usage Arguments Value

Description

Extracts the hour of the week from a timestamp of class POSIXct.

Usage

1
weekhour(x, week_start = 1)

Arguments

x

timestamp of class POSIXct.

week_start

day on which week starts following ISO conventions - 1 means Monday, 7 means Sunday.

Value

Returns a numeric value between 0 and 167.


luukvdmeer/dockless documentation built on May 10, 2019, 1:24 p.m.