Thanks for your suggestions. A couple of useful functions in there I haven't
heard of before.
--
View this message in context:
http://n4.nabble.com/identical-mystery-tp1573269p1574379.html
Sent from the R help mailing list archive at Nabble.com.
__
R-
Duncan Murdoch wrote:
Dario Strbenac wrote:
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
If you use 'dput' you could provide a reproducible example, plus it
would probably explain what was happening.
On Mon, Mar 1, 2010 at 1:24 AM, Dario Strbenac wrote:
> Hello,
>
> I have 2 vectors of the same mode and the same contents but I still get
> FALSE. Any ideas ?
>
>> reference <- c(11, 1
Dario Strbenac wrote:
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
ence,cpgDensity)
[1] FALSE
regards
Søren
Fra: r-help-boun...@r-project.org [r-help-boun...@r-project.org] På vegne
af Dario Strbenac [d.strbe...@garvan.org.au]
Sendt: 1. marts 2010 07:24
Til: r-help@r-project.org
Emne: [R] identical() mystery
Hello,
I have 2 vectors of the sa
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
6 matches
Mail list logo