Description Usage Arguments See Also Examples
Intended to be called from make_history
.
Prints a warning any of the specified years aren't included in the dataset and
returns a vector of availabe years, sorted ascending. The sort ensures correct
ordering in subsequent license history calculations, which include iterations
by year that would produce incorrect results if not sorted.
1 |
yrs |
numeric: Years in sales data (column 'year') from which to create license history |
df |
data frame: table that contains "year" variable |
func_name |
character: name of function to print in warning |
Other internal license history functions: history_internal
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.