rowMedians {clintools} | R Documentation |
find median of rows similar to rowMeans (rowMedians)
Description
rowMedians()
converts a dataframe to a list of row medians.
Usage
rowMedians(x, na.rm=FALSE)
Arguments
x |
a dataframe where median of row should be calculated. ( |
na.rm |
Should missing values be omitted fro the calculations? ( |
Value
Returns a list of the median of each row in the inputted dataframe.
Examples
## Not run:
rowMedians(df[,c("test1","test2","test3")])
## End(Not run)
[Package clintools version 0.9.10.1 Index]