plot_FVs_pre {AnnuityRIR} | R Documentation |
n
-payment annuity, with payments of 1 unit each made at the
beginning of every year (annuity-due), valued at the rate X
,
using different approaches.Plot the final expected values of an
n
-payment annuity, with payments of 1 unit each made at the
beginning of every year (annuity-due), valued at the rate X
,
using different approaches.
plot_FVs_pre(data,years,lwd,lty1,lty2,lty3)
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. |
Salvador Cruz Rambaud, Fabrizio Maturo, Ana María Sánchez Pérez
#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)