NewValsFromPVector: ngCmatric-specific manipulation, internal helper function to...

Description Usage Arguments Value

View source: R/crules.R

Description

ngCmatric-specific manipulation, internal helper function to weight values of matrix by a "confidence" level obtained from the association rule learning stage. Confidence may be replaced with any other metric on the rule space

Usage

1

Arguments

p

the p vector from an ngCMatrix

vals

the vector of values to replace per column: e.g. confidence

Value

a vector which may be assigned to the x slot of the ngCMatrix used for parameter "p".


rahuldhodapkar/crules documentation built on Jan. 21, 2022, 2:06 p.m.