valInfo
is a generic S3 method for classes
inheriting from item. It returns sufficient information for the
creation of the valuation function of an item.
# S3 method for asset
valInfo(object, market.risk, standalone = NULL, ...)
S3 object of class asset.
S3 object of class marketRisk created using
the constructor marketRisk
.
S3 object of class standalone.
additional arguments.
a list with the following elements:
exposure
: numeric value of length one representing the exposure
in the underlying asset.
constant
: numeric value of length one representing the constant
centering the log-normal expression.
risk.factor
: a data.frame
with columns:
name
: character value representing the names of
the base risk-factors.
id
: integer value representing the positions of
the base risk-factors in the covariance matrix in marketRisk
.
scale
: numeric value representing the scaling coefficients
associated to the base risk-factors.