search for: gradstudentdd

Displaying 2 results from an estimated 2 matches for "gradstudentdd".

2012 Sep 27
3
Keep rows in a dataset if one value in a column is duplicated
Hi, I have a data set of observations by either one person or a pair of people. I want to only keep the pair observations, and was using the code below until it gave me the error " $ operator is invalid for atomic vectors". I am just beginning to learn R, so I apologize if the code is really rough. Basically I want to keep all the rows in the data set for which the value of
2012 Oct 13
3
Replace column values in R conditional on values from different column
Dear List, I am working on a stats project and have been stumped by the issue of replacing values in a column conditional on values from a different column. I searched the forum and google in general, and was able to put some code together, but it's not working the way it's supposed to... I appreciate any help you can offer! A detailed description of the issue, and the code I came up