ty Durham and Darlington NHS Foundation Trust)
>
> Betreff: [R] Non-unique Values
> An: "r-help@r-project.org"
> Datum: Dienstag, 25. Mai, 2010 18:12 Uhr
> I might be missing something really
> obvious, but is there an easy way to locate all non-unique
> valu
I might be missing something really obvious, but is there an easy way to locate
all non-unique values in a data frame?
Example
mydata <- numeric()
mydata$id <- 0:8
mydata$unique <- c(1:5, 1:4)
mydata$result <- c(1:3, 1:3, 1:3)
> mydata
$id
[1] 0 1 2 3 4 5 6 7 8
$unique
[1] 1 2 3 4 5 1 2 3 4
$r
2 matches
Mail list logo