Description Usage Arguments Examples
Creates a change column based on a group. This function is specific as the data must have three columns at most. A category group column group a/b, device type, segment, a calendar group month, year, day and a numeric column to aggregate users, visits, clicks etc.. The data columns MUST be in that order as well. Category Group, Calendar Group, Numeric Aggregate.
1 | change_XoX_column_group(df, col1, col2, XoX)
|
df, col1, col2, XoX |
a data frame two columnnames and XoX name for new column |
1 | tb %>% select(Type, Month, Users) %>% change_XoX_column_group(Dec,Jan,"MoM")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.