Loan_amortization(V0, n, i, i2 =0, alic =0, ins =0, method)
Arguments
V0: A numeric type value. Loan value.
n: A numeric type value. The number of payments.
i: A numeric type value or a vector of them. The interest rate of the loan.
i2: A numeric type value. The interest rate of the saving account.
alic: A numeric type value. Interest tax rate.
ins: A numeric type value. The rate of V0 to be paid in each period.
method: A string. Amortization method used ("constant_installment","interest_only", "constant_principal", "interest_only_wsavings_account" or "constant_installment_varintrate" ).
Returns
Returns a data.frame object containing Period, Payment, Pure Payment, Intrest, Amortization, Insurance, TAX and Outstanding debt.