increment: Increment date_xx objects

View source: R/increment.R

incrementR Documentation

Increment date_xx objects

Description

Increment date_xx objects

Usage

increment(x, inc = 1)

## S3 method for class 'date_yq'
increment(x, inc)

## S3 method for class 'date_ym'
increment(x, inc)

## S3 method for class 'date_yw'
increment(x, inc)

## S3 method for class 'date_y'
increment(x, inc)

Arguments

x

object to increment

inc

Value by which to increment (usually integer)

Value

An object of the same type as x increment by inc


dint documentation built on April 3, 2025, 6:06 p.m.