operators: Operators of tpr objects.

tpr_operatorsR Documentation

Operators of tpr objects.

Description

Filtring timeperiods operators.

Usage

x %.in% y 
x %left_in% y
x %left_out% y
x %right_in% y
x %right_out% y

Arguments

x

left Date or tpr object

y

Right tpr object.

Value

Date sequence or logical vector

Author(s)

Alexey Seleznev

See Also

For get more examples see vignette: vignette("tpr_intro", package = "timeperiodsR")

Examples

period1 <- this_month("2019-11-07")
period2 <- previous_week("2019-11-07")

period1 
period1 
period1 
period1 

timeperiodsR documentation built on April 20, 2023, 5:13 p.m.