Learn R Programming

dominanceanalysis (version 2.1.0)

centerOnGroup: 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)

Value

New dataframe

Arguments

x

dataframe

g

grouping factor