AddMonths: AddMonths

AddMonthsR Documentation

AddMonths

Description

This function will take a single date value and add N months to it.

Usage

AddMonths(DATE_VAL, ADD_N = NULL, DEBUG = TRUE)

Arguments

DATE_VAL

The original date value that will be added to. Must be a date format

ADD_N

Number of months to add to DATE_VAL

DEBUG

If TRUE, the function will run in debug mode

Value

A single date value

Author(s)

Abraham Mathew

See Also

Other Data Preparation: AddDays(), AddMissingDates(), AddWeeks(), AggregateTimeSeriesData(), CheckForMissingDates(), CreateOutputDates(), DoDataPartition(), FakeDataGenerator(), FlattenLongData(), RemoveSpecialChars()

Examples




    GoodeR::AddMonths(as.Date("2020-01-01"), 1)




abmathewks/GoodeR documentation built on June 12, 2025, 1:48 a.m.