rowMedians: find median of rows similar to rowMeans (rowMedians)

View source: R/rowMedians.R

rowMediansR 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. (data.frame)

na.rm

Should missing values be omitted fro the calculations? (boolian)

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)


clintools documentation built on May 29, 2024, 7:14 a.m.