[R] Data Mining Packages in R for categorical and numerical values

2009-08-11 Thread mmv.listservs
Hello, I''ve looked around and I can't seem to find a package to do data mining in R for a mixture of categorical and numerical attributes. If you have this data set: ## dummy data set.seed(123) dummy <- data.frame(A = sample(paste("tasks",1:100), 1,B = sample(paste("loads",1:100), 1,

Re: [R] Matrices

2009-08-10 Thread mmv.listservs
On Mon, Aug 10, 2009 at 1:57 PM, Gavin Simpson wrote: > On Mon, 2009-08-10 at 13:41 -0400, mmv.listservs wrote: > > I should give an example > > Thanks for that - I just two seconds ago sent a reply to the list > complaining because you didn't provide one. However, the code

[R] summary(table)

2009-08-10 Thread mmv.listservs
Hi, Why when I do a summary on a table it cuts off the other variables? It says Other :58 or Other: 120. how can I get the summary for all the variables under ServLoad.Task and Server.Load and Avg. CPU and Max.CPU? Thanks, summary(probF) Reboot.Id ServLoad.Task Server.Load

Re: [R] Matrices

2009-08-10 Thread mmv.listservs
I should give an example for(p in 1:100) { str <- paste("Task", p, sep=" ") task_name[p] <- str } ## first set the random seed so we get the same results set.seed(123) ## now produce some dummy data dummy <- data.frame(A = sample(LETTERS[1:4], 100, replace = TRUE), B =

Re: [R] Matrices

2009-08-10 Thread mmv.listservs
Gavin Simpson wrote: > On Mon, 2009-08-10 at 11:17 -0400, mmv.listservs wrote: > > yy<-poisson2[poisson2$Reboot.Id=="Reboot > > 2",poisson2$Task.Status=="F",,drop=FALSE] > > The above doesn't make any sense and can't be working or doing what

Re: [R] Matrices

2009-08-10 Thread mmv.listservs
yy<-poisson2[poisson2$Reboot.Id=="Reboot 2",poisson2$Task.Status=="F",,drop=FALSE] doesn't work either? Any other ideas? On Mon, Aug 10, 2009 at 11:01 AM, mmv.listservs wrote: > How do you access all the column attributes associated with a column reboo

[R] Matrices

2009-08-10 Thread mmv.listservs
How do you access all the column attributes associated with a column reboot instance? The variables poisson2 ~ a matrix with 10,000 rows and 8 column attributes. Things I tried: This command only returns a vector for one of the column attributes x1_prob <- poisson2$Probability[poisson2$Reboot.