princ_remn | R Documentation |
Remaining principal at time n
princ_remn(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 remaining principal
s <- 10000 r <- 5 / 100 / 12 t <- 60 n <- 5 princ_remn( s, r, t, n)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.