View source: R/spotrate-class.R
spotrate | R Documentation |
spotrate()
function creates SpotRate
objects.
spotrate(x, compounding, daycount, calendar, .copyfrom = NULL)
x |
a numeric vector representing spot rate values. |
compounding |
a |
daycount |
a |
calendar |
a |
.copyfrom |
a |
A SpotRate
object.
spotrate(0.06, "continuous", "actual/365", "actual")
spotrate(c(0.06, 0.07, 0.08), "continuous", "actual/365", "actual")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.