periodTable.equalfreq | R Documentation |
Specific method for creating flexible frequency periods
## S3 method for class 'equalfreq'
periodTable(
trans_df,
periodicity,
freq = NULL,
start = NULL,
first_date = NULL,
last_date = NULL,
...
)
trans_df |
Transaction data.frame |
periodicity |
Periodicity option ('weekly', 'monthly', 'quarterly', 'annually') |
freq |
[30] Frequency width of each period in days |
start |
['first'] Where to start counting ('first' or 'last') |
first_date |
[NULL] If null, the data determines the first date. Else set your own. Note that the first_date must be outside of the range of transaction dates. It can only extend the time period, not clip it. That should be done else where. |
last_date |
[NULL] If null, the data determines the last date. Else set your own Note that the last_date must be outside of the range of transaction dates. It can only extend the time period, not clip it. That should be done else where. |
... |
Additional Arguments |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.