bond.price {FinAna} | R Documentation |
Calculate the plain vanilla bond price
Description
Calculate the plain vanilla bond price
Usage
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
#bond.price(1000,0.03,10,0.0248,2)
[Package FinAna version 0.1.2 Index]