edate: Shift date by a number of months

Description Usage Arguments

View source: R/daycount.R

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

1
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)


jrvarma/jrvFinance documentation built on Nov. 6, 2021, 5:12 p.m.