From deleeuw at stat.ucla.edu  Mon Mar 13 00:43:01 2006
From: deleeuw at stat.ucla.edu (Jan de Leeuw)
Date: Sun, 12 Mar 2006 15:43:01 -0800
Subject: [Rd] Logic Error (PR#8677)
In-Reply-To: <20060312233911.22F1329D71@slim.kubism.ku.dk>
References: <20060312233911.22F1329D71@slim.kubism.ku.dk>
Message-ID: <7B8D9612-2B7D-4E0E-811C-F89585F404D5@stat.ucla.edu>

 > 0.2==(1-0.8)
[1] FALSE

On Mar 12, 2006, at 15:39 , mkdavis at math.ucalgary.ca wrote:

> Full_Name: Matthew Davis
> Version: 2.2.0
> OS: OS X (10.4.5)
> Submission from: (NULL) (209.107.120.195)
>
>
> the mean of my sample x is 0.2, and when I check mean(x)<=0.2 I get  
> a TRUE
> value, when I check mean(x)<=(1-0.8) I get a FALSE value.  (x <- c 
> (0, 1, 0, 0,
> 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0))
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

===
Jan de Leeuw; Distinguished Professor and Chair, UCLA Department of  
Statistics;
Editor: Journal of Multivariate Analysis, Journal of Statistical  
Software
US mail: 8125 Math Sciences Bldg, Box 951554, Los Angeles, CA 90095-1554
phone (310)-825-9550;  fax (310)-206-5658;  email: deleeuw at stat.ucla.edu
.mac: jdeleeuw ++++++  aim: deleeuwjan ++++++ skype: j_deleeuw
homepages: http://gifi.stat.ucla.edu ++++++ http://www.cuddyvalley.org
   
------------------------------------------------------------------------ 
-------------------------
           No matter where you go, there you are. --- Buckaroo Banzai
                    http://gifi.stat.ucla.edu/sounds/nomatter.au



[Rd] Logic Error (PR#8677)
Jan de Leeuw