difftime_office_hours_no_NA: Internal calculation of office hours

Description Usage Arguments Details Value

View source: R/difftime_office_hours.R

Description

Internal calculation of office hours between time stamps

Usage

1
difftime_office_hours_no_NA(started, ended, working_hours)

Arguments

started

Start time of period, as POSIX. NA-values is NOT allowed

ended

End time of period, as POSIX. NA-values is NOT allowed

working_hours

Vector of length 2, start and end of office day in hours. Default c(8,16)

Details

Don't call this function externally, use difftime_office_hours that validates input and handles NA-values

Value

Number of office hours between time stamps


janzzon/difftimeOffice documentation built on Dec. 22, 2020, 6:15 p.m.