as_tibble.ZeroCurve: ZeroCurve attributes as a data frame

Description Usage Arguments Value See Also Examples

View source: R/zero-curve-class.R

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

1
2
## S3 method for class '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

1
2
3
library(tibble)
zc <- build_zero_curve()
as_tibble(zc)

imanuelcostigan/fmbasics documentation built on Dec. 6, 2019, 9:48 a.m.