calcsupportFIMatrix: Calculate support if missing.

Description Usage Arguments Value

View source: R/CoerceTypes.R

Description

This function calculate the support for a frequent itemset with a transactions set if the support vector is missing and otherwise otherwise just returns the support vector

Usage

1
calcsupportFIMatrix(input, support, dataset)

Arguments

input

The frequent Itemsets as a ngTMatrix

support

The support vector, if missing the support is calculated for the frequent itemsets based on the transaction set in dataset.

dataset

dataset containing the transaction data. May be of all classes that can be coerced to TAMatrix by the function MakeTAMatrix.

Value

Vector of support values.


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