extract-methods: Extract a sub-matrix of histograms

extract-MatHR Documentation

Extract a sub-matrix of histograms

Description

Extracts rows and/or columns of a MatH object, as for an ordinary matrix.

Usage

## S4 method for signature 'MatH,ANY,ANY,ANY'
x[i, j, ..., drop = TRUE]

Arguments

x

A MatH object.

i, j

Row and column indices (integers, names or logical vectors).

...

Not used.

drop

Not used (the result is always a MatH object).

Value

A MatH object.

Examples

SUB_D <- BLOOD[c(1, 2, 5), c(1, 2)]
SUB_D

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