get.m-methods: Method 'get.m': the mean of a distribution

get.mR Documentation

Method get.m: the mean of a distribution

Description

This functon return the mean of a distributionH object.

Usage

get.m(object)

## S4 method for signature 'distributionH'
get.m(object)

Arguments

object

a distributionH object

Value

A numeric value

Examples

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

HistDAWass documentation built on Sept. 26, 2022, 5:06 p.m.