Learn R Programming

optionstrat (version 1.4.1)

r.cont: Continuously Compounded Rate

Description

Convert a given nominal rate to a continuously compounded rate

Usage

r.cont(r, n)

Arguments

r

nominal rate

n

number of times compounded each year

Value

Returns a continuously compounded rate

Examples

Run this code
# NOT RUN {
r.cont(0.12, 2)
# }

Run the code above in your browser using DataLab