get.m-methods: Mean of a histogram (stored value)

get.mR Documentation

Mean of a histogram (stored value)

Description

Returns the mean stored in the m slot of a distributionH object. To compute it from the distribution use meanH.

Usage

get.m(object)

Arguments

object

A distributionH object.

Value

A number, the mean of the distribution.

See Also

meanH, get.s

Examples

D <- distributionH(x = c(1, 2, 3, 4), p = c(0, 0.2, 0.6, 1))
get.m(D)

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