meanCenter: Mean Center Variables

Description Usage Arguments Details Value Author(s) Examples

Description

This simple function subtracts the mean from a variable rendering mean-centered variables.

Usage

1

Arguments

x

variable or column of data to be centered

Details

This is particularly useful in lm() with higher order terms as in moderation.

Value

a numeric; mean centered 'x'

Author(s)

Thomas D. Fletcher [email protected]

Examples

1
2
3

QuantPsyc documentation built on May 29, 2017, 10:40 a.m.