[R] Re: Logical Indexing of vectors -- Odd Behavior or....

Joel Kincaid JFKINCAID at salisbury.edu
Fri Mar 28 18:17:22 CET 2003

Joel F. Kincaid, Ph. D.
Assistant Professor
Department of Economics and Finance
Franklin P. Perdue School of Business
Salisbury University
Salisbury Maryland, 21801
Phone: (410) 548-4416
Email:   jfkincaid at salisbury.edu

>>> Joel Kincaid 03/27/03 16:17 PM >>>
I'm puzzled by the following behavior in R 1.6.2 and have found no
reference to this in the archives: 
>P <- seq(.1,.9,by=.1)

<snip snip >naive presumptions deleted.

And so P <- round(seq(.1,.9,.1),2) produces the naively expected
results. Thanks for your help.

More information about the R-help mailing list