Description Usage Arguments Value See Also Examples
Checks whether object inherits from CDSCurve
class
1 | is.CDSCurve(x)
|
x |
an R object |
TRUE
if x
inherits from the CDSCurve
class; otherwise FALSE
Other CDS curve helpers: CDSCurve
,
CDSMarkitSpec
,
CDSSingleNameSpec
, CDSSpec
,
SurvivalProbabilities
,
ZeroHazardRate
, is.CDSSpec
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | curve_specs <- CDSMarkitSpec(
rating = "AAA",
region = "Japan",
sector = "Utilities"
)
cds_curve <- CDSCurve(
as.Date("2019-06-29"),
tenors = c(1, 3, 5, 7),
spreads = c(0.0050, 0.0070, 0.0090, 0.0110),
lgd = 0.6,
premium_frequency = 4,
specs = curve_specs
)
is.CDSCurve(cds_curve)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.