Description Usage Arguments Value Examples
Nelson-Siegel Regressors
1 | ns_regressors(maturities)
|
maturities |
A number or numeric vector. Should be represented as years, e.g. 3 months = 0.25 years. |
A matrix with length as number of maturities of Nelson-Siegel regressors.
1 | ns_regressors(c(0.25,0.5,1,5,10,20,30))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.