Description Usage Arguments Value See Also
View source: R/cashflowvaluation.R
valFunction
is a generic S3 method for classes
inheriting from item. It returns the valuation function.
1 2  ## S3 method for class 'cashflow'
valFunction(object, market.risk, with.constant = T, ...)

object 
S3 object of class cashflow. 
market.risk 
S3 object of class marketRisk created using

with.constant 
a logical value, should the expression be with constant or not? 
... 
additional arguments. 
a function with one argument:
x
: a matrix of simulations (numeric values) with named columns corresponding
exactly to the name of base riskfactors in marketRisk
keeping the
same order, or an unnamed vector of simulations (numeric values) keeping the same
ordering of base riskfactors as in marketRisk
.
valFunction
, cashflow
, marketRisk
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.