[R] frequent sequences

2009-07-27 Thread jgant
Hello, I'm having a few issues mining frequent sequences. I've read the documentation and played around with arules and arulesSequences with little success. For example if I have a vector, a = t(t(c(1,2,3,0,1,2,3,5,6,7))); I'd like to be able mine the association rules {1,2}-->{3}, {2}-->{3}, {1

[R] help with simple goodness of fit test

2007-10-15 Thread jgant
Hello, I've read the other posts with regard to "chisq.test" and "goodness of fit" and am still missing something. 1. I create a simple vector of randomly generated lognormal values with mean=0 and sd=1; >d1 <- rlnorm(100,meanlog=0,sdlog=1); 2. I also create a vector of probabilities that are expe