plot.cf {financial}R Documentation

Plot of cash flow model

Description

Plots bar plot of the cash flows or NPV versus periodic rate.

Usage

plot.cf(x, type = c("bar", "npv"), ...)

Arguments

x an object of class "cf", obtained using cf.
type type of the plot.
... additional arguments passed to barplot internally.

Details

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.

Author(s)

Lukasz Komsta

See Also

cf

Examples

y = cf(c(-2500,6250,-3800),1:10,2:11,4:13)
plot(y)
plot(y,type="npv")

[Package financial version 0.1 Index]