Description Usage Arguments Value Examples
View source: R/nelson-siegel.R
Beta_1 Regressor
1 | beta1_regressor(maturity, lambda = 0.4)
|
maturity |
A number. Should be represented as years, e.g. 3 months = 0.25 years. |
lambda |
A number between 0 and 1. Defaults to 0.4 as is given by the Academy's generator. |
A numeric vector giving the Beta_1 regressor for the Nelson-Siegel Yield Curve interpolation.
1 2 3 | beta1_regressor(1)
beta1_regressor(1,0.5)
beta1_regressor(c(1,20))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.