Learn R Programming

financial (version 0.2)

plot.tvm: Plot TVM models

Description

Makes bar plots of TVM models.

Usage

"plot"(x, row = 1, ...)

Arguments

x
an object of class "tvm" containing time value of money model.
row
a row number in the model to plot.
...
additional arguments passed to barplot internally.

Details

The present value, payments and future value are plotted as bars. Cumulative sum of these are indicated by a line.

See Also

tvm

Examples

Run this code
y=tvm(pv=10000,i=10,n=10,pmt=NA)
plot(y)

Run the code above in your browser using DataLab