[R] Remove single entries
Erik Iverson
eiverson at NMDP.ORG
Mon Sep 28 18:06:32 CEST 2009
> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]
> On Behalf Of Raymond Danner
> Sent: Monday, September 28, 2009 11:03 AM
> To: r-help at r-project.org
> Subject: [R] Remove single entries
>
> Dear Community,
>
> I have a data set with two columns, bird number and mass. Individual
> birds
> were captured 1-13 times and weighed each time. I would like to remove
> those individuals that were captured only once, so that I can assess mass
> variability per bird. I¹ve tried many approaches with no success. Can
> anyone recommend a way to remove individuals that were captured only once?
>
We need a reproducible example. My guess is that you might use some combination of indexing and the table function, but if you can give us code that shows us a basic example of your setup, that would be great.
More information about the R-help
mailing list