View source: R/comp_interest.R
comp_interest | R Documentation |
Formula to calculate compound interest with or without recurring payments
comp_interest(principal, apr, years, compound, recurr = 0)
principal |
starting ammound |
apr |
annual percentage rate (as a decimal) |
years |
number of years to compound |
compound |
frequency at which interest is compounded |
recurr |
recurring payments made at same frequency as compounding |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.