center | R Documentation |
Centering of rows (constructs) and/or columns (elements).
center(x, center = 1, ...)
x |
|
center |
Numeric. The type of centering to be performed. |
... |
Not evaluated. |
matrix
containing the transformed values.
If scale midpoint centering is applied no row or column centering can be applied simultaneously. TODO: After centering the standard representation mode does not work any more as it remains unclear what color values to attach to the centered values.
center(bell2010) # no centering
center(bell2010, rows = T) # row centering of grid
center(bell2010, cols = T) # column centering of grid
center(bell2010, rows = T, cols = T) # row and column centering
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.