[R] subset of a dataframe
    alcesgabbo 
    alcesgabbo at hotmail.com
       
    Fri Dec  3 17:26:24 CET 2010
    
    
  
HI,
I have a dataframe like this:
name    type
A          t1
B           t2
C          t1
D           t1
E           t3
F            t2
how can I have a "sub dataframe" based with the column "type" like this:
(for type = t1)
name    type
A          t1
C          t1
D           t1
(for type = t2)
name    type
B           t2
F            t2
Thanks
-- 
View this message in context: http://r.789695.n4.nabble.com/subset-of-a-dataframe-tp3071326p3071326.html
Sent from the R help mailing list archive at Nabble.com.
    
    
More information about the R-help
mailing list