Dear all,

 

I am totally confused by the following R output, but don't have a clue
for it.

 

> a <- 1 - 0.2

> a == 0.8

[1] TRUE

> a <- 1 - 0.8

> a == 0.2

[1] FALSE

> a <- 1 - 0.5

> a == 0.5

[1] TRUE

> a <- 1 - 0.6

> a == 0.4

[1] TRUE

> a <- 1 - 0.9

> a == 0.1

[1] FALSE

 

 

My R version is Windows XP R version 2.8.1 (2008-12-22).

 

Thanks very much.

 

 

Changhong


===================================

P Please consider the environment before printing this e-mail

Cleveland Clinic is ranked one of the top hospitals
in America by U.S. News & World Report (2008).  
Visit us online at http://www.clevelandclinic.org for
a complete listing of our services, staff and
locations.


Confidentiality Note:  This message is intended for use\...{{dropped:16}}

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to