Learn R Programming

xVA (version 0.8)

Curve-class: Curve Class

Description

Creates a Curve Object containing pairs of Tenors with relevant rates and the interpolation function. Also, methods for populating the object via a .csv file and the generation of the interpolation function via cubic splines are included.

Arguments

Tenors
The Tenors of the curve
Rates
The rates on the corresponding tenors
interp_function
(Optional) The interpolation function of the curve. Can be populated via the 'CalcInterpPoints' method

Value

An object of type Curve