powered by
Assign a histogram data to the r-th row and the c-th column of a matrix of histograms.
set.cell.MatH(object, mat, r, c)# S4 method for distributionH,MatH,numeric,numeric set.cell.MatH(object, mat, r, c)
# S4 method for distributionH,MatH,numeric,numeric set.cell.MatH(object, mat, r, c)
A MatH object.
MatH
a distributionH object, a matrix of distributions.
a MatH object, a matrix of distributions.
an integer, the row index.
an integer, the column index
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