powered by
Plots bar plot of the cash flows or NPV versus periodic rate.
"plot"(x, type = c("bar", "npv"), ...)
cf
barplot
The "bar" plot displays all cash flows as bars, their cumulative sum as a line-plot and NPV as horizontal lines.
The "npv" plot displays dependence between rate and NPV in range 0 - 100 percent. The roots (IRR values) and extremes are indicated by vertical lines.
y = cf(c(-2500,6250,-3800),1:10,2:11,4:13) plot(y) plot(y,type="npv")
Run the code above in your browser using DataLab