bond.price: Calculate the plain vanilla bond price

Description Usage Arguments Examples

View source: R/bond.price.R

Description

Calculate the plain vanilla bond price

Usage

1
bond.price(par,c,n,yield,m)

Arguments

par

:the face value of the bond

c

:the annual coupon rate of the bond

n

:number of years

yield

:the annual yield to maturity of a bond

m

:couponding period in a year

Examples

1
#bond.price(1000,0.03,10,0.0248,2)

Example output



FinAna documentation built on May 2, 2019, 2:51 p.m.

Related to bond.price in FinAna...