Description Usage Arguments Examples
This function returns the length of a lease determined by the sales price balance. The function returns the length in weeks.
1 2 | length_function(sales.balance = 1500, Option = "LowPayment", gamma = -1.8,
alpha = 0.0018, c = 1.2, delta = 136.8)
|
Option |
"LowPayment" or "LowCost" should be entered to return the correspoding length |
gamma |
Do not adjust this parameter in production. Defaults to -1.8 |
alpha |
Do not adjust this parameter in production. Defaults to -0.0018 |
c |
Do not adjust this parameter in production. Defaults to 1.2 |
delta |
Do not adjust this parameter in production. Defaults to 136.8 |
sales.balanace |
The sales price balance (sales price-down payent) for the item on the contract. Defaults to 1500. |
1 | length_function(sales.balance=1500,Option=c("LowCost","LowPayment"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.