Description Usage Arguments See Also Examples
View source: R/model-YrsAnnual.R
To be run following yrs_calc_avg
. Converts the output of that
function to a scale comparable to a retention curve
1 2 3 |
avg_yrs |
data frame returned by |
... |
optional grouping variables |
num_yrs |
number of years used in avg_yrs |
age_cohort |
function to estimate age_cohort based on history$birth_year in the first year to be averaged |
start_age |
starting age for years_since = 0 |
end_age |
last age to include |
method |
character name of method used (for plotting) |
Other functions to estimate annual license buying: yrs_avidity
,
yrs_calc_avg
, yrs_calc
,
yrs_fit
, yrs_lifetime
,
yrs_plot
, yrs_predict
,
yrs_result
, yrs_zero
1 2 3 | data(all_sports)
x <- yrs_calc_avg(all_sports)
yrs_predict_avg(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.