market.rate: Return a market rate for a given maturity

Description Usage Arguments Value

View source: R/object_functions.R

Description

Parses the yield curve in a market object and returns a market rate of a given maturity/duration

Usage

1
market.rate(mkt, mat = NA, dur = NA, f = 0.5)

Arguments

mkt

Market object

mat

Maturity (needed to find interest rate on yield curve). If NA, specify duration instead.

dur

Duration (needed to find interest rate on yield curve). If NA, specify maturity instead.

f

Frequency of coupon payments

Value

Returns a simple numeric object with the market rate.


gsk3/maRketSim documentation built on May 17, 2019, 8:55 a.m.