I am new in R.I have one question regarding my data set.
 S.NO   Type Measurements
 1  1        2.1
 2  2        3.3
 3  2        3.1
 4  3        2.7
 5  3        2.6
 6  3        4.5
 7  2        1.1
 8  3        2.2
suppose we have measurements in column 3 but their types are given in column 2.Each measurement is either type 1,type 2 or type 3.Now if we are interested to find only measurements corressponding to type 2(suppose),how we can do it in R? I am looking forward to response.
 
     
     
    