ERTMonStackFeatureMatrices: Make a stack of feature sub-matrices.

Description Usage Arguments Details See Also

View source: R/ERTMon.R

Description

Make a stack of feature sub-matrices.

Usage

1
2
3
4
5
6
7
8
ERTMonStackFeatureMatrices(
  ertObj,
  matrixNames = NULL,
  entityIDs = NULL,
  sep = ".",
  dropEmptyRowsQ = TRUE,
  completeColumnRangeQ = FALSE
)

Arguments

ertObj

An ERTMon object.

matrixNames

A character vector with names of feature sub-matrices to be collapsed. If NULL then all feature sub-matrices are collapsed.

entityIDs

A character vector with entity ID's (that feature sub-matrices row names.) If NULL then all entity ID's are used.

sep

A separator string.

dropEmptyRowsQ

Should the empty rows be dropped or not?

completeColumnRangeQ

See ERTMonTakeContingencyMatrices.

Details

Stacks the feature sub-matrices (using rbind.)

The obtained matrix is assigned to ertObj$Value. The entity ID's are concatenated with matrix names using the separator sep. The rows that are "empty" (without elements) are removed by default.

See Also

Other Feature matrices: ERTMonCollapseFeatureMatrices(), ERTMonPlotFeatureMatrices()


antononcube/ERTMon-R documentation built on Oct. 14, 2021, 2:27 p.m.