powered by
Returns a dataframe with variables groups means as x.mean and centered variables a x.centered
centerOnGroup(x, g)
dataframe
grouping factor
New dataframe