beop: Find the Beginning or End of Period

beopR Documentation

Find the Beginning or End of Period


Each of bop and eop contains a list of functions, whose names all consist of two letters, the first of which stands for last, this, next while the second stands for year, quarter, month, week. For example, eop$ty() means "the ending of period of this year" and bop$lm() means "the beginning of period of last month".


All functions' signatures are the same, with only one argument x, which could be a Date or values that can be converted to Date via ymd().


## supports 'YMD' formatted integer or string

ymd documentation built on Oct. 9, 2023, 5:10 p.m.

Related to beop in ymd...