get.cell.MatH-methods: Get or set a cell of a matrix of histograms

get.cell.MatHR Documentation

Get or set a cell of a matrix of histograms

Description

get.cell.MatH returns the histogram in a cell of a MatH object; set.cell.MatH assigns a histogram to a cell.

Usage

get.cell.MatH(object, r, c)

set.cell.MatH(object, mat, r, c)

Arguments

object

For get.cell.MatH, a MatH object; for set.cell.MatH, the distributionH object to assign.

r, c

Integers, the row and the column of the cell.

mat

A MatH object.

Value

get.cell.MatH returns a distributionH object, set.cell.MatH the modified MatH object.

Examples

get.cell.MatH(BLOOD, r = 1, c = 1)
mydist <- distributionH(x = c(0, 1, 2, 3, 4), p = c(0, 0.1, 0.6, 0.9, 1))
MAT <- set.cell.MatH(mydist, BLOOD, r = 1, c = 1)

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