Skip to contents

Given a matrix of data, calculates the median value in each column or row.

Usage

calculate_matrix_medians(in_matrix, use = "col", ...)

Arguments

in_matrix

numeric matrix of values

use

character of "col" or "row" defining columns or rows

...

extra parameters to the median function

Value

numeric