Description Usage Arguments Value Examples
Given a numerical vector x, return x - median(x), where NA are removed in the calculation of median(x)
1 |
x |
A numberical vector (at least 2 non-NA items). |
The zero-median form of x
.
1 2 | x <- 1:10
median_center(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.