Skip to contents

From the Major purchases chapter.

Usage

first_payment_split(principal, annual_rate, years)

Arguments

principal

Loan amount (a single number).

annual_rate

Yearly interest rate, as a decimal (a single number).

years

Loan term in years (a single number).

Value

A one row data frame with columns payment, interest, principal, and pct_interest (the percent of the payment that is interest).

See also

Examples

# first payment on a $480,000 loan at 6% over 30 years
first_payment_split(principal = 480000, annual_rate = 0.06, years = 30)
#>    payment interest principal pct_interest
#> 1 2877.843     2400  477.8425     83.39581