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

russmisc documentation built on May 2, 2019, 4:44 p.m.