Re: [R] Histogram classwise

2012-04-05 Thread Greg Snow
You might want to look at the lattice or ggplot2 packages, both of which can create a graph for each of the classes. On Tue, Apr 3, 2012 at 6:20 AM, arunkumar akpbond...@gmail.com wrote: Hi I have a data class wise. I want to create a histogram class wise without using for loop as it takes

[R] Histogram classwise

2012-04-03 Thread arunkumar1111
Hi I have a data class wise. I want to create a histogram class wise without using for loop as it takes a long time my data looks like this x class 27 1 93 3 65 5 1 2 69 5 2 1 92 4 49 5 55 4 46 1 51 3 100 4 - Thanks in

Re: [R] Histogram classwise

2012-04-03 Thread Sarah Goslee
I'm not entirely sure what you mean, but maybe split() and lapply() would help? Sarah On Tue, Apr 3, 2012 at 8:20 AM, arunkumar akpbond...@gmail.com wrote: Hi I have a data class wise. I want to create a histogram class wise without using for loop as it takes a long time my data looks