Learn R Programming

UComp (version 4.0.1)

rowMedians: rowMedians

Description

Medians of matrix by rows

Usage

rowMedians(x, na.rm = TRUE, ...)

Value

A vector with all the medians

Arguments

x

a matrix

na.rm

boolean indicating whether to remove nans

...

rest of inputs

Author

Diego J. Pedregal

See Also

colMedians, tests, sumStats, gaussTest, ident, cusum, varTest, conv, armaFilter, dif, roots, zplane, acft, slide, plotSlide, Accuracy, tsDisplay, size

Examples

Run this code
s <- rowMedians(matrix(4, 3, 2))

Run the code above in your browser using DataLab