group_center | R Documentation |
Group-centering of one or more variables
group_center(variables, group, data, std = FALSE, prefix = "g.")
variables |
Character vector of variables names |
group |
Character of length 1,name of grouping variable |
data |
Data frame |
prefix |
Character, added to the befinning of centered variable name. |
Returns an original data frame binded with the new centered variables
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.