Learn R Programming

radiant.data (version 0.8.1)

center: Center

Description

Center

Usage

center(x, na.rm = TRUE)

Arguments

x

Input variable

na.rm

If TRUE missing values are removed before calculation

Value

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