| gcenter | R Documentation |
This function allows you to center on grand-means.
gcenter(var)
var |
name of variable to be centered |
A column in your dataframe (with grand-mean centered data)
df <- data.frame(var = c(1, 3, 5, 9))
df$centeredVAR <- gcenter(df$var)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.