Description Usage Arguments Author(s) Examples
View source: R/plot_FV_pre_norm_kmom.R
Plot the final expected value 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 the estimated moments of the normal distribution.
1 | plot_FV_pre_norm_kmom(data,years,lwd,lty)
|
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. |
lty |
The style of the curve. Default is 1. |
Salvador Cruz Rambaud, Fabrizio Maturo, Ana MarÃa Sánchez Pérez
1 2 3 4 5 6 7 8 | # example 1
data<-rnorm(n=30,m=0.03,sd=0.01)
plot_FV_pre_norm_kmom(data,8)
# example 2
data<-rnorm(n=200,m=0.075,sd=0.2)
plot_FV_pre_norm_kmom(data,8)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.