Description Usage Arguments Value Examples
calculates column medians analagous to the colMeans() function.
1 | colMedians(x, na.omit = TRUE)
|
x |
a data frame or matrix |
na.omit |
should rows with missing observations be removed? defaults to TRUE. |
a vector of column medians
1 | colMedians(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.