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


dominanceanalysis documentation built on May 29, 2024, 2:28 a.m.