center: Center a variable

Description Usage Arguments Value Examples

Description

By centering I mean take the numeric variable and subtract the mean from each value. Then return each value.

Usage

1
center(x)

Arguments

x

Variable to be centered

Value

Numeric x - mean(x)

Examples

1
center(c(1,2,3))

drknexus/repsych documentation built on May 15, 2019, 2:19 p.m.