makeTAMatrix: Take different inputs and make them a TAMatrix.

Description Usage Arguments Value

Description

Takes a object of class Matrix, ngCMatrix, ngTMatrix or class transactions from arules and return a corresponding object of class TAMatrix. All these objects with the exception of transactions should have row names that describe the different items. The columns should represent the itemsets. It should be a binary matrix.

Usage

1
makeTAMatrix(input)

Arguments

input

Object of class matrix, sparse matrix or Formel class transaction (arules class).

Value

Object of class TAMatrix containing the same itemset as the input.


TimToebrock/Project_Apriori documentation built on Oct. 16, 2020, 9:22 p.m.