Convert stated annual rate to the effective annual rate
ear(r, m)
r
stated annual rate
m
number of compounding periods per year
ear.continuous
hpr2ear
ear2bey
ear2hpr
ear(r=0.12,m=12) ear(0.04,365)