AddWeeks: AddWeeks

AddWeeksR Documentation

AddWeeks

Description

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

Usage

AddWeeks(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 weeks 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(), AddMonths(), AggregateTimeSeriesData(), CheckForMissingDates(), CreateOutputDates(), DoDataPartition(), FakeDataGenerator(), FlattenLongData(), RemoveSpecialChars()

Examples




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




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