plot.rate_curve: Plots a rate curve

Usage Arguments Examples

Usage

1
2
## S3 method for class 'rate_curve'
plot(x, rate_type = NULL, factor = 1, ...)

Arguments

x

The rate curve

rate_type

The rate types to plot, in c("french","fut","german","zero_eff","zero_nom","swap")

...

Other arguments (unused)

Examples

1
2
3
4
5
6
7
r <- rate_curve(rates = c(0.1, 0.2, 0.3), rate_type = "zero_eff")
plot(r)
## Not run: 
plot(r, rate_type = "german")
plot(r, rate_type = c("french", "german"))

## End(Not run)

juancentro/tvm documentation built on May 20, 2019, 3:18 a.m.