GenCandidates: Generate Candidate of length k + 1 based on frequent itemsets...

Description Usage Arguments Value

View source: R/GenCandidates.R

Description

Take an sparce, binary, incident matrix of class ngTMatrix with itemsets of length k and generates the candidates of length k + 1 based on the Apriori Candidate Generation. In the matrix the rows should be the items and the columns should be the itemssets that represent the candidates.

Usage

1

Arguments

L

Sparse, binary incident matrix of class ngTMatrix containing the candidates itemsets. The rows should be named and represent the items while the columns should be the itemsets.

Value

The candidates of length k + 1 as a sparse incident matrix. rownames are kept.


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