boundDate: Bound Date

Description Usage Arguments

View source: R/utils-time.R

Description

Applied bounds to the provided date using a number of padding days. For example, if the date is less than the start of the provided date range then the date will be set to be the start of the date range - padding days.

Usage

1
boundDate(date, dateRange, padDays = 1)

Arguments

date

The date to bound

dateRange

The date range to bound the date with

padDays

[DEFAULT: 1] The number of days to pad the date with


USGS-R/repgen documentation built on April 14, 2021, 2:47 p.m.