Displaying 1 result from an estimated 1 matches for "cpgdensity".
Did you mean:
avgdensity
2010 Mar 01
3
identical() mystery
Hello,
I have 2 vectors of the same mode and the same contents but I still get FALSE. Any ideas ?
> reference <- c(11, 14, 16, 5, 4, 2, 0, 15, 9, 0)
> reference
[1] 11 14 16 5 4 2 0 15 9 0
> cpgDensity
[1] 11 14 16 5 4 2 0 15 9 0
> identical(cpgDensity, reference)
[1] FALSE
> mode(cpgDensity)
[1] "numeric"
> mode(reference)
[1] "numeric"
> cpgDensity == reference
[1] TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE
Thanyou,
Dario.