center: Center

Description Usage Arguments Value

View source: R/transform.R

Description

Center

Usage

1
center(x, na.rm = TRUE)

Arguments

x

Input variable

na.rm

If TRUE missing values are removed before calculation

Value

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


radiant-rstats/radiant.data documentation built on Nov. 13, 2018, 6:57 a.m.