center {sdamr} | R Documentation |
Mean-centered values
Description
center
computes mean-centered values. It is a convenience wrapper to scale
, equal to scale(x, scale=FALSE)
Usage
center(x)
Arguments
x |
Numeric vector |
Value
A numeric vector with mean-centered values
Examples
data(anchoring)
center(anchoring$everest_feet)
[Package sdamr version 0.2.0 Index]