edate {jrvFinance}R Documentation

Shift date by a number of months

Description

Convenience function for finding the same date in different months. Used for example to find coupon dates of bonds given the maturity date. See coupons

Usage

edate(from, months = 1)

Arguments

from

starting date - a character string or any object that can be converted into date using as.Date.

months

Number of months (can be negative)


[Package jrvFinance version 1.4.3 Index]