Description Usage Arguments Value Author(s) Examples
View source: R/BSM_utilities.R
Convert TO continuous compounding FROM discrete
1 | r_continuous(r_d, compounding_periods_per_year)
|
r_d |
the discrete CAGR returned from CAGRd |
compounding_periods_per_year |
how often the rate is compounded (2 => semiannual) |
the continuously-compounded rate of return
George Fisher GeorgeRFisher@gmail.com
1 2 3 4 5 | # Hull 7th edition Ch 5 P 107
r_d <- 0.04
compounding_periods_per_year <- 2
ans <- r_continuous(r_d, compounding_periods_per_year)
writeLines(paste0(round(ans,4)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.