time_of_day: Create list of time of day break points

View source: R/time-funcs.R

time_of_dayR Documentation

Create list of time of day break points

Description

Create list of time of day break points

Usage

time_of_day(morning = c(5, 12), afternoon = c(12, 17), evening = c(17, 21))

Arguments

morning

vector of two for the hours where morning start or end in 24H

afternoon

vector of two for the hours where afternoon start or end in 24H

evening

vector of two for the hours where evening start or end in 24H

Value

list of fours times of day classifying the 24H of the day

Examples

time_of_day()

LCBC-UiO/Questionnaires documentation built on July 18, 2023, 6:45 p.m.