[R] R-Package for Recursive Partitioning without Classification or Regression

2017-07-28 Thread Tom D. Harray
Hello, I have a question related to recursive partitioning, but I cannot find an answer, likely because I don't know how to properly word my Google search query. All recursive partitioning examples, which I can find, are used for either classification or regression trees like library(tree)

Re: [R] Arules Package: Rules subset with 'empty' left hand side (lhs)

2016-09-13 Thread Tom D. Harray
n-arules > > One more thing. For printing the rules, I needed the inspect() command you > didn't provide. > > I hope this helps. > > Best, > > Luisfo Chiroque > PhD Student | PhD Candidate > IMDEA Networks Institute > http://fourier.networks.imdea.org/people/~luis_nun

[R] Arules Package: Rules subset with 'empty' left hand side (lhs)

2016-09-12 Thread Tom D. Harray
Hello, subsets of association rules (with respect to support, confidence, lift, or items) can be obtained with the arules::subset() function; e.g. rm(list = ls(all.names = TRUE)) library(arules) set.seed(42) x <- lapply(X = 1:500, FUN = function(i) sample(x = 1:10, size =

[R] Radius of Curvature Fit

2013-09-18 Thread Tom D. Harray
Hi there, I want to know the radius of curvature for a set of points, but cannot figure out how to perform the fit in R. I have a set of points P_i for which I want to calculate the radius of curvature. The coordinates (x_i|y_i) of the points in a data.frame: p - data.frame( x = c(113, 143,

[R] fgrep with caret (^) meta-character in system() call

2011-10-04 Thread Tom D. Harray
Hi there, I would like to use my linux system's fgrep to search for a text pattern in a file. Calling system with system(fgrep \SearchPattern\ /path/to/the/textFile.txt) works in general, but I need to search for the search pattern at the beginning of the line. The corresponding shell

[R] Arules: R Crashes when running eclat with tidLists=TRUE

2011-06-03 Thread Tom D. Harray
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)

Re: [R] Arules: R Crashes when running eclat with tidLists=TRUE

2011-06-03 Thread Tom D. Harray
Update I had the chance to test the issue tonight using R version 2.12.2 on a Linux (Ubuntu 10.04.2, x86_64, kernel 2.6.32-32-generic) system: It does also crash (with a support of 0.01 instead of 0.05 posted earlier) running eclat(Adult, parameter=list(support=0.01, tidLists=TRUE))