Learn R Programming

timeperiodsR (version 0.7.3)

tpr_operators: 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

Value

Date sequence or logical vector

Arguments

x

left Date or tpr object

y

Right tpr object.

Author

Alexey Seleznev

See Also

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

Examples

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

period1 
period1 
period1 
period1 

Run the code above in your browser using DataLab