fmbasics (version 0.3.0)

as_tibble.ZeroCurve: ZeroCurve attributes as a data frame

Description

Create a tibble that contains the pillar point maturities in years (using the act/365 convention) and the corresponding continuously compounded zero rates.

Usage

# S3 method for ZeroCurve
as_tibble(x, ...)

Arguments

x

a ZeroCurve object

...

other parameters that are not used by this methods

Value

a tibble with two columns named Years and Zeros.

See Also

tibble::tibble()

Examples

Run this code
# NOT RUN {
library(tibble)
zc <- build_zero_curve()
as_tibble(zc)
# }

Run the code above in your browser using DataLab