plot.cf: Plot of cash flow model

Description Usage Arguments Details Author(s) See Also Examples

Description

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

Usage

1
2
## S3 method for class 'cf'
plot(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

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

Example output



financial documentation built on May 30, 2017, 2:35 a.m.

Related to plot.cf in financial...