week_period: Returns the period padded to the weekly boundaries

View source: R/utils-date.R

week_periodR Documentation

Returns the period padded to the weekly boundaries

Description

Currently only supports weeks starting sunday, need to eventually support start.on.monday passthrough.

Usage

week_period(period)

Arguments

period

Date or POSIXct vector representing period of time

Value

new period representing the padded range


USGS-R/gsplot documentation built on April 17, 2023, 8:45 p.m.