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 tom.fletcher.mp7e@statefarm.com

Examples

1
2
3


Search within the QuantPsyc package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.