View source: R/object_functions.R
These functions return the amounts and timings of cash flows from bond-type objects.
| 1 2 3 4 5 6 7 8 9 10 11 | cashflow(x, mkt, ...)
## Default S3 method:
cashflow(x, mkt, ...)
## S3 method for class 'cash'
cashflow(x, mkt, future=TRUE, ...)
## S3 method for class 'bond'
cashflow(x,mkt,future=TRUE,f=x$f,...)
## S3 method for class 'portfolio.bond'
cashflow(x,mkt=x$orig.mkt,sort=FALSE,condense=TRUE,future=TRUE,...)
## S3 method for class 'account'
cashflow(x, mkt, ...)
 | 
| x | Bond or portfolio object | 
| mkt | Market object under which to evaluate cash flows | 
| future | TRUE/FALSE. Add in future=FALSE (past cash flows) for use with fv() | 
| f | Frequency of coupon payments | 
| sort | Sort by time then by amount | 
| condense | Condensed output | 
| ... | Pass-alongs. | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.