Re: [R] loop testing unidentified columns

2016-06-20 Thread Brittany Demmitt
essage- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Brittany > Demmitt > Sent: Monday, June 20, 2016 12:15 PM > To: r-help@r-project.org > Subject: [R] loop testing unidentified columns > > Hello, > > I want to compare all of the columns of one data

Re: [R] loop testing unidentified columns

2016-06-20 Thread David L Carlson
3 - David L Carlson Department of Anthropology Texas A University College Station, TX 77840-4352 -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Brittany Demmitt Sent: Monday, June 20, 2016 12:15 PM To: r-help@r-project.org Subject: [R] loop test

[R] loop testing unidentified columns

2016-06-20 Thread Brittany Demmitt
Hello, I want to compare all of the columns of one data frame to another to see if any of the columns are equivalent to one another. The first column in both of my data frames are the sample IDs and do not need to be compared. Below is an example of the loop I am using to compare the two data