dtt_floor: Floor

Description Usage Arguments Value Examples

View source: R/floor.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

The floored Date or POSIXct vector.

Examples

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

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