princ_month | R Documentation |
Principal to be paid back at time n
princ_month(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 principal paid in given month
s <- 10000 r <- 5 / 100 / 12 t <- 60 n <- 5 princ_month( s, r, t, n)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.