euv: Equalent Uniform Value or Annuity

View source: R/cdar.R

euvR Documentation

Equalent Uniform Value or Annuity

Description

This R function calculate annuity for the present value, future value, number of payments/periods, amount of the first payment, the payment increment amount per period, and/or the interest rate for an arithmetically growing annuity.

Usage

euv(
  pv = NA,
  fv = NA,
  n = NA,
  a = NA,
  q = NA,
  r = NA,
  ic = 1,
  pf = 1,
  imm = TRUE,
  plot = FALSE
)

Arguments

pv

present value

fv

future value

n

number of periods

a

amount of the first payment

q

payment increment amount per period

r

nominal interest rate convertible ic times per period

ic

interest conversion frequency per period

pf

Payment frequency - number of payments per year

imm

option for annuity immediate or annuity due, default is immediate (TRUE)

plot

option to display a time diagram of the payments

Value

Returns Annuity

Examples

euv(pv=1000, fv=NA, n=10, a=NA, q=0, r=.05, ic=1, pf=1, imm=FALSE)

Bahram-Abediniangerabi/ConstructionAnalyticsR documentation built on March 6, 2023, 7:52 a.m.