dayperiod: Categorise time into its corresponding period of the day

Description Usage Arguments Value

View source: R/utils.R

Description

Categorise time into its corresponding period of the day

Usage

1
dayperiod(t, bounds = c(6, 10, 16, 21))

Arguments

t

time vector

bounds

daily time boundaries

Value

vector of corresponding periods# of the day (categorical)


ppintosilva/anprflows documentation built on May 20, 2021, 3:25 p.m.