Learn R Programming

UComp (version 4.0.1)

colMedians: colMedians

Description

Medians of matrix by columns

Usage

colMedians(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

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

Examples

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

Run the code above in your browser using DataLab