center | R Documentation |
Subtract a measure of central tendency from data causing data's center to become zero.
center(x, center.function = mean, center.function.na.rm = T)
x |
A vector of values to be centered |
center.function |
A function to use as a measure of center |
center.function.na.rm |
logial (T/F) identifying whether NA should be dropped from input |
A vector containing centered data (central tendency of zero).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.