NelsonSiegelModel I efficiently use R to implement the Nelson-Siegel model by function and recursion methods and visualize it by Plotly package.