An object of the same type as .data. The output has the following properties:
1. Columns from .data will be preserved
2. Columns with L1 scores that are group-mean centered.
3. Columns with L2 aggregated means.
Arguments
data
A data.frame or a data.frame extension (e.g. a tibble).
cols
Columns that need to be centered. See `dplyr::dplyr_tidy_select` for available options.
group
the grouping variable. Must be character.
keep_original
default is `TRUE`. Set to `FALSE` to remove original columns