ERTMonTakeContingencyMatrices: Take feature sub-matrices.

Description Usage Arguments Details Value See Also

View source: R/ERTMon.R

Description

Returns the sub-matrices of the feature matrix.

Usage

1
2
3
4
5
6
7
ERTMonTakeContingencyMatrices(
  ertObj,
  smat = NULL,
  matrixNames = NULL,
  columnPrefixesQ = FALSE,
  completeColumnRangeQ = FALSE
)

Arguments

ertObj

An ERTMon object.

smat

If not NULL it is going to be used instead of ertObj$Value.

matrixNames

The contingency matrix names to be taken. If NULL all contingency matrices are taken.

columnPrefixesQ

Should the column names have feature prefixes? If TRUE the column names are just integers.

completeColumnRangeQ

Should the columns correspond to all time grid cell indexes between the minimum and maximum ones? This is done only with columnPrefixesQ = FALSE.

Details

The sub-matrices are extracted through the corresponding prefixes. An alternative is to use the sparse matrices that are in ertObj$dtObj.

Value

A list of named matrices.

See Also

Other Set/Take functions: ERTMonSetComputationSpecification(), ERTMonSetEntityAttributes(), ERTMonSetEventRecords(), ERTMonTakeAlignmentSpec(), ERTMonTakeComputationSpecification(), ERTMonTakeEntityAttributes(), ERTMonTakeEventRecords(), ERTMonTakeFeatureMatrix(), ERTMonTakeFeatureNamePrefixes(), ERTMonTakeTimeCellsInterpretation(), ERTMonTakeTimeSeriesDataFrame(), ERTMonTakeTrasformedData(), ERTMonTakeValue(), ERTMonTakeVariableOutlierBoundaries()


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