View source: R/cf_amortization.R
cf_amortization | R Documentation |
Function to compute the amortization tables
cf_amortization(r, y, p, M)
r |
interest rate |
y |
number of years |
p |
number of periods for year |
M |
loan ammount |
A data.table with amortization information
Pedro Guarderas
r <- 0.16
y <- 10
p <- 12
M <- 10000
A <- cf_amortization( r, y, p, M )
sum( A$c )
sum( A$i )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.