pv | R Documentation |
Returns the present value of a single payment and annuity payments (spending) made in the future (fv)
pv( rate = 0, inflation = 0, nper = 1, fv = 0, pmt = 0, pmtinfladj = FALSE, pmtUltimo = TRUE )
rate |
The interest rate per period. Default is zero. Must be entered as decimal. |
inflation |
The inflation forcast. Default is zero. Must be entered as decimal. |
nper |
The total number of payment periods. Default is one period. |
fv |
The future value of single spending made in the future. Default is assumed to be zero. Must be entered as a negative number. |
pmt |
The payment (spending) made each period (annuity) in the future. Must be entered as a negative number. |
pmtinfladj |
Should the payments be inflation adjusted? E.g. are the annuity pmt constant or real annuities. Only avaliable for pmt given as scalar. Default value = FALSE. |
pmtUltimo |
When payments are due. TRUE = end of period, FALSE = beginning of period. Default is TRUE. |
fv.single
fv.annuity
pv(rate=0.04,inflation=0.02, nper=10,fv=-1000,pmt=-10,pmtinfladj=FALSE,pmtUltimo=TRUE) pv(rate=0.04,inflation=0.02,nper=10,pmt=-10,pmtinfladj=TRUE,pmtUltimo=TRUE) pv(rate=0.04,inflation=0.02,nper=10,fv=-1000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.