centerOnGroup: Center the variables on groups mean.

View source: R/centerOnGroup.r

centerOnGroupR Documentation

Center the variables on groups mean.

Description

Returns a dataframe with variables groups means as x.mean and centered variables a x.centered

Usage

centerOnGroup(x, g)

Arguments

x

dataframe

g

grouping factor

Value

New dataframe


clbustos/dominanceAnalysis documentation built on March 8, 2024, 5:22 a.m.