Learn R Programming

radiant.data (version 1.4.5)

center: Center

Description

Center

Usage

center(x, na.rm = TRUE)

Value

If x is a numeric variable return x - mean(x)

Arguments

x

Input variable

na.rm

If TRUE missing values are removed before calculation