rowMedians | R Documentation |
Row-/Colwise Medians similar to rowMeans
.
rowMedians(x, na.rm = FALSE) colMedians(x, na.rm = FALSE)
x |
|
na.rm |
|
numeric
, medians for each row/column.
m <- matrix(1:8, nrow = 2) rowMedians(m) colMedians(m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.