princ_accum | R Documentation |
Accumulated principal paid back at time n
princ_accum(s, r, t, n)
s |
original loan amount |
r |
interest rate. Divide by 100 if in a percent and again by 12 if yearly |
t |
loan term in months |
n |
month to return value for |
numeric value of accumulated paid principal
s <- 10000 r <- 5 / 100 / 12 t <- 60 n <- 5 princ_accum( s, r, t, n)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.