[R] identifying cells in data frames with the same value

jim holtman jholtman at gmail.com
Thu Sep 22 05:13:49 CEST 2011


?duplicated

Hard to give a specific solution unless you follow the posting guide
and provide a subset of the data to test on.

On Wed, Sep 21, 2011 at 7:31 PM, stevesp101 <sanpietro.steve at gmail.com> wrote:
> Hi,
>
> I'm trying to find out if there is a command that tells me which cells in my
> data frame have the same value.  I am looking at the results from an online
> survey, organized into a data frame with the following columns:
> SubjectNumber, WorkerID, Age.  I know the one person must have taken the
> survey more than once, because there is one less level in the WorkerID
> column than there are rows in the data frame.  Is there something that will
> tell me which SubjectNumber cells correspond to more than one WorkerID cell?
> Thanks,
>
> Stevesp
>
> --
> View this message in context: http://r.789695.n4.nabble.com/identifying-cells-in-data-frames-with-the-same-value-tp3831881p3831881.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Jim Holtman
Data Munger Guru

What is the problem that you are trying to solve?



More information about the R-help mailing list