dtt_floored: Floored

Description Usage Arguments Value Examples

View source: R/floored.R

Description

The possible units values are 'seconds', 'minutes', 'hours', 'days', 'months' or 'years'.

Usage

1

Arguments

x

A Date or POSIXct vector.

units

A string of the units to floor by.

...

Unused.

Value

A flag indicating whether floored.

Examples

1
dtt_floored(Sys.time(), "hours")

poissonconsulting/dttr documentation built on Feb. 20, 2021, 12:18 a.m.