search for: tp3687506p3687864

Displaying 1 result from an estimated 1 matches for "tp3687506p3687864".

2011 Jul 22
2
matched pairs
Hi all, I am hoping to keep certain rows of my data set. These are rows whose value in column X is equal to the value in column X for another row. For example: 1 1 2 1 3 2 4 3 5 4 6 4 >From this I would want the following: 1 1 2 1 5 4 6 4 I am struggling with the for loop. Here is what I have currently: ## where to store values pairs.list <- data.frame(NA, nrow(data),