terms <- c(1, 11, 26, 27, 28)
rates <- c(0.0719, 0.056, 0.0674, 0.0687, 0.07)
curve <- spotratecurve(rates, terms, "discrete", "actual/365", "actual")
# access the term 11 days
curve[[11]]
# access the second element
curve[2]
Run the code above in your browser using DataLab