similar to: arules package: using image() deliveres unexpected results

Displaying 20 results from an estimated 400 matches similar to: "arules package: using image() deliveres unexpected results"

2006 Feb 08
1
ARULES --> Filtering Rules by RHS
Dear Colleagues, I would like to only inspect rules that contain a certain label substring on the rhs. In this special case the item labels are built like this: <itemtype>_<itemvalue> e.g. "Artikelgruppe_E0815" what I want to do is only show rules where "Artikelgruppe" is contained in the rhs - has anybody an idea how this could work? Sincerely
2011 Jun 03
2
Arules: R Crashes when running eclat with tidLists=TRUE
Hello, I'm using the eclat function of the arules package (1.0-6) for the identification of frequent itemsets. I need the tidLists, but if I set in the function tidLists=TRUE R crashes (Windows XP Professional SP3, 32 bit, R version 2.12.1 (2010-12-16), reproducible on two different computers) with two different error messages or non at all. Minimum examples are: library(arules)
2011 Jan 28
1
arules package question- apriori/S4 object export question
I am new to R( but quickly being awed by the range of this it can accomplish, you have one more convert to the useR universe). I have successfully implemented the apriori function and are getting great results. My question concerns how to export these results. I have read lots about write.csv functions and exporting data frames and other standard objects. Im having difficulty working with these S4
2013 Mar 11
2
Función Inspect() en "arules" package
Buenas tardes, Necesito ayuda con la función inspect() del paquete "arules". Mis comandos son: r1 <- apriori(tran, parameter=list(support=0.012, confidence=0.7)) r1 summary(r1) #todo bien, tengo 5 reglas y todo claro en el resume #pero al pedir inspect(r1) inspect(sort(r1, by = "confidence")) me arroja el error: Error en UseMethod("inspect", x) : no
2006 Feb 15
2
aggregate data.frame using column-specific functions
Dear Colleagues, does anybody know how to aggregate a data.frame using different functions for different columns? Sincerely ___________________ Markus Preisetanz Consultant Client Vela GmbH Albert-Roßhaupter-Str. 32 81369 München fon: +49 (0) 89 742 17-113 fax: +49 (0) 89 742 17-150 mailto:markus.preisetanz@clientvela.com
2006 Feb 16
1
scatterplot3d: how to show scatterpoints in 2D-space with color as 3rd dimension?
Dear Colleagues: I have 3 numeric variables (say x, y, z) in a data.frame and want to draw a 2D-scatterplot with the 3rd dimension as color, if possible without having to convert the whole thing to an appropiate matrix for image() manually. Can e.g. scatterplot3d do something like this? There's a function xyz.convert, but I couldn't find the way to use it properly. Sincerly,
2006 Feb 14
2
AID / Tree Analysis in R
Dear Colleagues, I've been looking for a function that can perform a tree analysis, similar to CHAID or QUEST. The key point is that in this case the variables are not binary but nominal (10 different values), so "tree" (from the tree package) won't work. Does anybody know help? Sincerely, ___________________ Markus Preisetanz Consultant Client Vela GmbH
2006 Feb 13
1
Adding dimnames to image()
Dear Colleagues, does anybody know how to add dimnames to an image. Right now I'm using image(as.matrix(df3), col=brewer.pal(9,"Blues")) where df3 is a data.frame. dimnames(as.matrix(df3)) delivers [[1]] [1] "RFM_A1" "RFM_A2" "RFM_A4" "RFM_A5" "RFM_A7" "RFM_B3" "RFM_B6" "RFM_B7"
2006 Jan 26
2
cluster analysis: "error in vector("double", length): given vector size is too big {Fehler in vector("double", length) : angegebene Vektorgröße ist zu groß}
Dear R Specialists, when trying to cluster a data.frame with about 80.000 rows and 25 columns I get the above error message. I tried hclust (using dist), agnes (entering the data.frame directly) and pam (entering the data.frame directly). What I actually do not want to do is generate a random sample from the data. The machine I run R on is a Windows 2000 Server (Pentium 4) with 2 GB of
2006 Feb 01
1
RODBC: How to Retrieve a Column as Rownames?
Dear Collegues, when using sqlQuery from the package RODBC I always get a data frame with automatically generated rownames, even if: * the first column of the query is called rownames using "Select ... AS rownames, ... From ..." * and: the values from this column are unique * and: the values are inevitably forced to character data with e.g. " 'rn_' + CAST(xy AS
2013 Mar 09
2
grouping followed by finding frequent patterns in R
I have a data in the following form : CIN TRN_TYP 9079954 1 9079954 2 9079954 3 9079954 4 9079954 5 9079954 4 9079954 5 9079954 6 9079954 7 9079954 8 9079954 9 9079954 9 . . . . . . there are 100 types of CIN (9079954,12441087,15246633,...) and respective TRN_TYP first of all, I want this data to be
2006 Feb 08
0
Graphics Package --> stars()
Dear Collegues, does anybody know how I can place a legend at a sensible position in a star diagram automatically? The legend should tell the name of the variable (from colnames) for every color used. Sincerely, Markus ___________________ Markus Preisetanz Consultant Client Vela GmbH Albert-Roßhaupter-Str. 32 81369 München fon: +49 (0) 89 742 17-113 fax:
2006 Oct 05
0
a question on using arules package
hi, there: I have a question on use of arules package: suppose i have a classification problem with class id = 1 or 0. i put predictors and class ids together and tranform all of them into binary thus i got a binary matrix. When I build the rules from it, I subset the rules to 2 by defining rhs %in% "classid = 1" or "2". (Actually i can build rules from two seperate datasets
2010 Feb 18
1
how to change number of itemes appeare in right-hand-side of the rule with apriori in R(arules)?
Hi All, I use arules library, and try to create an association rules for this transaction file: a,c,f,3,4,5 b,e,1,2,4 a,c,e,f,1,3,4,5 d,5 b,c,e,f,1,2,3,4 a,c,e,f,1,3,4,5 b,c,e,f,1,3,4 b,e,1,2,4 a,c,e,f,1,3,4,5 a,b,c,e,f,1,3,4 a,c,d,f,3,4,5 I want to get the rule such: {c,e,f}=> {3,4,5} I used this command: ar=apriori(tr, parameter=list(support=.4, confidence=0.8, maxlen=11), appearance
2011 Oct 10
1
pmml for random forest & rules
Hi, I am having some trouble using R 2.13.1 for generating a pmml object of of class "c('randomForest.formula', 'randomForest')" I see that these methods are available: > methods(pmml) [1] pmml.coxph* pmml.hclust* pmml.itemsets* pmml.kmeans* pmml.ksvm* pmml.lm* pmml.multinom* pmml.nnet* pmml.rpart* [10] pmml.rsf* pmml.rules* pmml.survreg*
2011 Dec 07
2
arules package intsallation
I'm using R version 2.13.0 (2011-04-13) on Mac OS X and I get the following error message with library(arules): Loading required package: Matrix Loading required package: lattice Attaching package: 'Matrix' The following object(s) are masked from 'package:base': det Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object
2006 Aug 07
4
CPU Usage with R 2.1.0 in Windows (and with R 2.3.1)
Ein eingebundener Text mit undefiniertem Zeichensatz wurde abgetrennt. Name: nicht verf?gbar URL: https://stat.ethz.ch/pipermail/r-help/attachments/20060807/7f387274/attachment.pl
2008 Jul 24
1
How to get rule number in arules
 Dear R experts   I generated rules using apriori method in arules package. Though I can access rules using %in% function but I am unable to access a specific rule by its unique identifier number. I want to use rule number for further analysis..   Thanking you in advance.   Daniel Amsterdam                                       Send instant messages to your online friends
2007 Oct 17
1
How to save association rules generated by arules package
Hi, I have been able to generate association rules for Market Basket Analysis using the following codes: **************************************************************************** ******************************************* library("arules") rules <- read.csv("write1.csv",na.strings=c(".", "NA", "", "?"),header=TRUE)
2009 Dec 02
2
Arules - Association Rules
Hello everybody! I'm trying some datamining, but i'm having some problems with arule package, in the end of processing R "had to be closed". I already tryied to reinstall the 2.10 version, change the computer and realocated more virtual memory. Does anyone had this problem to? I had a hiphoteses that i have to prepare the data, somehow i don't know. Thanks for helping!!!