Learn R Programming

HistDAWass (version 1.0.4)

set.cell.MatH: 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 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

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab