`in_period` tests whether week value is in period interval

in_period(x, s, e)

Arguments

x,

numeric week to be tested

s,

numeric indicating starting date of period

e,

numeric indicating end date of period

Value

a logical vector indicating the position of weeks in the given period