select-TAMatrix: Subsetting of an TAMatrix

Description Usage Arguments Value

Description

An TAMatrix does contain the matrix of all transactions as well as the dimensions of that matrix and the names of all items. Therefore, all these parts are logically connected and have to be changed when the matrix is subsetted.

Usage

1
2
## S4 method for signature 'TAMatrix'
select(x, i, j)

Arguments

x

Object of class TAMatrix

i

Either the rows represented by their row number or a logical vector of length number of row of TAMatrix. If missing or NULL all rows are selected.

j

Either the columns represented by their columns numbers or logical vector of length number of columns in TAMatrix. If missing or NULL all columns are selected.

Value

subsetted TAMatrix


TimToebrock/Rpriori documentation built on Oct. 18, 2020, 9:41 p.m.