| RF | R Documentation |
RiskFactor-class constructorCreate an instance of an implementation of class
RiskFactor (e.g. YieldCurve,
ReferenceIndex, etc).
This constructor is in fact a short cut to the constructors
of the implemented classes such as YieldCurve for
class YieldCurve, Index for
class ReferenceIndex or FxRate for
class ForeignExchangeRate. Note that it is not possible to
instanciate class RiskFactor itself but only the
implementing classes extending RiskFactor.
RF(object)
## S4 method for signature 'character'
RF(object)
as.timeSeries(x)
object |
character, where |
An object of a class extending RiskFactor
YieldCurve, ReferenceIndex
# create a new 'YieldCurve' object
yc = RF("YieldCurve")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.