Re: [R] extract common rows from a dataframe

2013-06-11 Thread arun
riginal Message - From: Ellie Papazisi To: r-help@r-project.org Cc: Sent: Tuesday, June 11, 2013 11:45 AM Subject: [R] extract common rows from a dataframe Hello, I'm trying to extract the common rows from a data frame, which is something like this : *  DEPTH SALINITY DEPTH SALINITY* *1

Re: [R] extract common rows from a dataframe

2013-06-11 Thread Bert Gunter
1. What does "common" mean? (noting that 39.35 != 39.33 ) 2. But: ?"[" ## or easier, but less flexible ?subset Also, spend some time with "An Introduction to R." Unless I misunderstand, this is very basic, and you need to first put in some time to learn R's basic procedures instead of posting h

[R] extract common rows from a dataframe

2013-06-11 Thread Ellie Papazisi
Hello, I'm trying to extract the common rows from a data frame, which is something like this : * DEPTH SALINITY DEPTH SALINITY* *188739.069439.06* *19 17339.05 141 NA* *20 26039.00 18839.07* *21 31238.97 20739.03* *22 139.36 1