meanH-methods: Mean of a histogram

meanHR Documentation

Mean of a histogram

Description

Computes the mean (first moment) of a distributionH object.

Usage

meanH(object)

Arguments

object

A distributionH object.

Value

A number, the mean of the distribution.

See Also

stdH, skewH, kurtH

Examples

mydist <- distributionH(x = c(1, 2, 3, 10), p = c(0, 0.1, 0.5, 1))
meanH(mydist) # 4.4

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