last_weekend: Get last weekend day in period.

View source: R/methods.R

last_weekendR Documentation

Get last weekend day in period.

Description

Method for get last weekend in timeperiod.

Usage

last_weekend(x)

Arguments

x

tpr object or date vector

Value

Vector of dates

Author(s)

Alexey Seleznev

Examples

pm <- previous_month()
# get last weekend
pm_last_weekend <- last_weekend(pm)

selesnow/timeperiodsR documentation built on Jan. 27, 2024, 7:32 a.m.