get.MatH.stats-methods: Statistics of the histograms of a matrix

get.MatH.statsR Documentation

Statistics of the histograms of a matrix

Description

Computes a statistic (mean, median, standard deviation, ...) for each histogram of a MatH object.

Usage

## S4 method for signature 'MatH'
get.MatH.stats(object, stat = "mean", prob = 0.5)

Arguments

object

A MatH object.

stat

The statistic: "mean" (default), "median", "min", "max", "std", "skewness", "kurtosis" or "quantile".

prob

A number between 0 and 1, the level of the quantile when stat = "quantile".

Value

A list with the name of the statistic (stat), the level prob (only when stat = "quantile") and the matrix of values (mat).

Examples

get.MatH.stats(BLOOD) # means
get.MatH.stats(BLOOD, stat = "median")
get.MatH.stats(BLOOD, stat = "quantile", prob = 0.05) # 5th percentiles
get.MatH.stats(BLOOD, stat = "std")

HistDAWass documentation built on Oct. 29, 2026, 5:07 p.m.