Mean Center Variables
This simple function subtracts the mean from a variable rendering mean-centered variables.
variable or column of data to be centered
This is particularly useful in lm() with higher order terms as in moderation.
a numeric; mean centered 'x'
Thomas D. Fletcher email@example.com
1 2 3
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.