Re: [R] Problem in Binning of a data set

2008-06-20 Thread Petr PIKAL
sumit gupta [EMAIL PROTECTED] napsal dne 20.06.2008 14:44:52: Hii.. Could you please tell me how to draw 3D histogram in R I have a 20X3 matirx. Now I want 2 of the variable on X and Y axis .And Height of the bar should denote the value of third variable. See scatterplot3d, image,

Re: [R] Problem in Binning of a data set

2008-06-19 Thread Petr PIKAL
Hi sumit gupta [EMAIL PROTECTED] napsal dne 18.06.2008 14:24:28: the range of data in all three columns is different. so obviously the cut points are different. What I want to do is to create a 3D matrix Lets say I have the following data A B C 500

Re: [R] Problem in Binning of a data set

2008-06-19 Thread Petr PIKAL
Hi well AFAICS nothing is in contradiction what I recommended so far. test-read.delim(clipboard, sep=) head(test) A R F M 1 man1 1 11 21 2 man2 2 12 22 3 man3 3 13 23 4 man4 4 14 24 5 man5 5 15 25 6 man6 6 16 26 rf-cut(test$R, c(0,3,6,100)) ff-cut(test$F, c(0,13,16,100))

[R] Problem in Binning of a data set

2008-06-18 Thread sumit gupta
Hello, I am having problem with binning the data. I have a 50X3 matrix and I binned the data for all the 3 columns. Using table command I got the total no. of elements in a particular bin. Could you please tell me how to see that what all elements are there in a particular bin and then create a

Re: [R] Problem in Binning of a data set

2008-06-18 Thread Abhijit Dasgupta
One issue you will have is that, if you're using the same cutpoints for the binning for all three tables, you'll probably get different numbers of values from each column in each bin, so you won't be able to form a matrix. Of course, I might be misunderstanding what you mean by binning :)