Nothing
"compoundInterest" <-
function(interest, periods=1,
frequency=1, net.value=FALSE){
#
cI <- exp(periods*frequency*
log(1+interest/frequency))
cI[frequency==Inf] <- exp(periods*interest)
#
if(net.value)cI-(net.value)
cI
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.