[R] Weird problem with trying to change a variable

Peter Dalgaard p.dalgaard at biostat.ku.dk
Sat Jan 17 12:31:33 CET 2004

"Peter Flom" <flom at ndri.org> writes:

> Thanks for the responses.  Several people suggested I check that the
> numbers are exactly what I think they are (ie. that 5360 is not
> 5360.00001.  I don't think this is the case (the data were entered in
> SAS, then I used DBMS copy to get them to SPSS, and then read.spss to
> move them to R), but I will check when I get back to the office (not til
> Tuesday)

Don't think, check! Calculate min(abs(x-5360)) for instance.

   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907

More information about the R-help mailing list