Description Usage Arguments See Also Examples
This uses a solver function, uniroot
, to find break-even
prices for lifetime licenses.
1 2 3 4 | nc_break_even(retain_all, prices, return_life, inflation,
wsfr_amount = NULL, min_amount = NULL, senior_price = NULL,
senior_age = 65, perpetuity = TRUE, youth_ages = 0:15,
age_cutoff = 80, max_price = 1000)
|
retain_all |
data frame of predicted years by age like that produced by
|
prices |
data frame of lifetime prices by age with at least 2 variables: current_age and price_lifetime |
return_life |
percentage return from lifetime fund |
inflation |
inflation rate for depreciation of lifetime fund |
wsfr_amount |
numeric estimated amount for aid dollars (use SFRF for fishing, WRF for hunting) |
min_amount |
numeric the minimum expenditure that will count for a certified hunter/angler (use 2 for hunt/fish and 4 for combo) |
senior_price |
numeric price for a senior lifetime license |
senior_age |
numeric age when a participant will be expected to buy a cheap lifetime license |
perpetuity |
if TRUE, use a perpetuity calculation
(https://en.wikipedia.org/wiki/Perpetuity) instead of
|
youth_ages |
if not NULL, assumes for youths that the fund is able to
compound until adulthood (when the agency will begin drawing revenue). See
|
age_cutoff |
numeric final age that can be counted for lifetime license-based WSFR dollars |
max_price |
Maximum lifetime license price used in solver function. A lower number will allow the function to execute more quickly. |
Other wrapper functions for NC results: nc_break_even_yrs
,
nc_price_lifetime_youth
,
nc_retain_youth
, nc_retain
,
nc_revenue
1 | # see ?nc_revenue for an example
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.