cv.bondprice {YRmisc}R Documentation

Calculate the plain vanilla bond price

Description

Calculate the plain vanilla bond price

Usage

cv.bondprice(par,c,yield,n,m)

Arguments

par

:the face value of the bond

c

:the annual coupon rate of the bond

yield

:the annual yield to maturity of a bond

n

:number of years

m

:compounding period in a year

Examples

cv.bondprice(1000,0.0248,0.0248,10,2)

[Package YRmisc version 0.1.6 Index]