plot_FVs_pre function

Plot the final expected values of an nn-payment annuity, with payments of 1 unit each made at the beginning of every year (annuity-due), valued at the rate XX, using different approaches.

WINDOWS-1252

Plot the final expected values of an nn-payment annuity, with payments of 1 unit each made at the beginning of every year (annuity-due), valued at the rate XX, using different approaches.

plot_FVs_pre(data,years,lwd,lty1,lty2,lty3)

Arguments

  • data: A vector of interest rates.
  • years: The number of years of the income. Default is 10 years.
  • lwd: The width of the curve. Default is 1.5.
  • lty1: The style of the curve for the "arctan" approximation. Default is 1.
  • lty2: The style of the curve for the "cubic" approximation. Default is 2.
  • lty3: The style of the curve for the "mood" approximation. Default is 3.

Author(s)

Salvador Cruz Rambaud, Fabrizio Maturo, Ana María Sánchez Pérez

Examples

#example 1 data = c(1.77,1.85,1.85,1.84,1.84,1.83,1.85,1.85,1.88,1.85,1.80,1.84,1.91,1.85,1.84,1.85, 1.86,1.85,1.88,1.86) data=data/100 plot_FVs_pre(data) # example 2 data<-rnorm(n=30,m=0.03,sd=0.003) plot_FVs_pre(data)
  • Maintainer: Fabrizio Maturo
  • License: GPL (>= 2)
  • Last published: 2017-11-03