search for: data_input_num

Displaying 1 result from an estimated 1 matches for "data_input_num".

2013 Mar 09
2
grouping followed by finding frequent patterns in R
...3,...) and respective TRN_TYP first of all, I want this data to be grouped into basket format: 9079954 1, 2, 3, 4, 5, .... 12441087 19, 14, 21, 3, 7, ... . . . and then apply eclat from arules package to find frequent patterns. 1) I ran the following code: file<-read.csv("D:/R/Practice/Data_Input_NUM.csv") file <- file[!duplicated(file),] eclat(split(file$TRN_TYP,file$CIN)) but it gave me the following error: Error in asMethod(object) : can not coerce list with transactions with duplicated items 2) I ran this code: file<-read.csv("D:/R/Practice/Data_Input_NUM.csv") file_n...