Solves for the present value, future value, time, or the interest rate for the accumulation of money earning compound interest. It can also plot the time value for each period.
Usage
TVM(pv=NA,fv=NA,n=NA,i=NA,ic=1,plot=FALSE)
Arguments
pv
present value
fv
future value
n
number of periods
i
nominal interest rate convertible ic times per period
ic
interest conversion frequency per period
plot
tells whether or not to produce a plot of the time value at each period