summary.cf: Summarizing cash flow models

Description Usage Arguments Details Author(s) See Also Examples

Description

This function gives summary for each step in cash flow model.

Usage

1
2
## S3 method for class 'cf'
summary(object, flows = 2:length(object$cf), ...)

Arguments

object

an object of "cf" class, created using cf.

flows

a vector of first flow numbers to summarize, default is from first two flows to all flows.

...

additional arguments, currently ignored.

Details

Summarizing is done by printing all information for first "flows" flows. By default, the summary of first 2, 3, 4 ... n flows are printed.

Author(s)

Lukasz Komsta

See Also

cf

Examples

1
2
y = cf(c(-10,5,5,5,5,5))
summary(y)

Example output

# 2 

Cash Flow Model

Flows:
  1   2 
-10   5 

 IRR%: -50 
 NPV Extremes at I%:  


# 3 

Cash Flow Model

Flows:
  1   2   3 
-10   5   5 

 IRR%: -150 0 
 NPV Extremes at I%: -300 


# 4 

Cash Flow Model

Flows:
  1   2   3   4 
-10   5   5   5 

 IRR%: 23.38 
 NPV Extremes at I%:  


# 5 

Cash Flow Model

Flows:
  1   2   3   4   5 
-10   5   5   5   5 

 IRR%: -169.12 34.9 
 NPV Extremes at I%: -265.06 


# 6 

Cash Flow Model

Flows:
  1   2   3   4   5   6 
-10   5   5   5   5   5 

 IRR%: 41.04 
 NPV Extremes at I%:  

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