set.cell.MatH-methods: Method set.cell.MatH assign a histogram to a cell of a matrix...

set.cell.MatHR Documentation

Method set.cell.MatH assign a histogram to a cell of a matrix of histograms

Description

Assign a histogram data to the r-th row and the c-th column of a matrix of histograms.

Usage

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

## S4 method for signature 'distributionH,MatH,numeric,numeric'
set.cell.MatH(object, mat, r, c)

Arguments

object

a distributionH object, a matrix of distributions.

mat

a MatH object, a matrix of distributions.

r

an integer, the row index.

c

an integer, the column index

Value

A MatH object.

Examples

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 Sept. 26, 2022, 5:06 p.m.