dtt_add_units: Add Units

Description Usage Arguments Value Functions Examples

View source: R/add.R

Description

Add Units

Usage

1
2
3
dtt_add_units(x, n = 1L, units = dtt_units(x))

dtt_subtract_units(x, n = 1L, units = dtt_units(x))

Arguments

x

A Date or POSIXct vector.

n

An integer of the number of units.

units

A string of the units.

...

Unused.

Value

The modified Date or POSIXct vector.

Functions

Examples

1

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