center | R Documentation |
Center a Running Variable
center(df, var, center = 0)
df |
a data frame |
var |
the variable you wish to center |
center |
the value around which you wish to center your variable (default is zero–does nothing) |
a data frame with the chosen variable centered
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.