Skip to content

yieldcurves

Yield Curve Fitting, Analysis, and Decomposition

v0.1.0 · Mar 26, 2026 · MIT + file LICENSE

Description

Fits yield curves using Nelson-Siegel (1987) <doi:10.1086/296409>, Svensson (1994) <doi:10.3386/w4871>, and cubic spline methods. Extracts forward rates, discount factors, and par rates from fitted curves. Computes duration and convexity risk measures. Computes Z-spread and key rate durations. Provides principal component decomposition following Litterman and Scheinkman (1991) <doi:10.3905/jfi.1991.692347>, carry and roll-down analysis, and slope measures. All methods are pure computation with no external dependencies beyond base R; works with yield data from any source.

Downloads

CRAN

441

Last 30 days

9004th

1.5K

Last 90 days

1.5K

Last year

Trend: -4.6% (30d vs prior 30d)

r2u CRAN

7

Last 30 days

26

Last 90 days

26

Last year

Trend: -58.8% (30d vs prior 30d)

autoCRAN

1

Last 7 days

4

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 7, 2026
ERROR r-devel-linux-x86_64-debian-gcc

PDF version of manual

Rd conversion errors:
Converting parsed Rd's to LaTeX Warning in file(out, "wt") :
  cannot open file '/tmp/RtmpbxbLDh/file2bea231631f473': No space left on device
Warning in file(con, "r") :
  cannot open file '/tmp/RtmpbxbLDh/file2bea231631f473': No such file or directory
Error in file(con, "r") : cannot open the connection
OK 7 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 27, 2026

Dependency Network

Dependencies Reverse dependencies cli yieldcurves

Version History

1 tracked
new 0.1.0 Mar 26, 2026