Displaying 2 results from an estimated 2 matches for "classwise".
Did you mean:
classfile
2012 Apr 03
2
Histogram classwise
...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 Advance
Arun
--
View this message in context: http://r.789695.n4.nabble.com/Histogram-classwise-tp4528624p4528624.html
Sent from the R help mailing list archive at Nabble.com.
2012 Mar 25
2
avoiding for loops
I have data that looks like this:
> df1
group id
1 red A
2 red B
3 red C
4 blue D
5 blue E
6 blue F
I want a list of the groups containing vectors with the ids. I am
avoiding subset(), as it is
only recommended for interactive use. Here's what I have so far:
df1 <- data.frame(group=c("red", "red", "red", "blue",