Hi Cory,

Check out
http://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-doesn_0027t-R-think-these-numbers-are-equal_003f

HTH,
Jorge


On Mon, Dec 20, 2010 at 2:04 PM, cory n <> wrote:

> > length(sample(25000, 25000*(1-.55)))
> [1] 11249
>
> > 25000*(1-.55)
> [1] 11250
>
> > length(sample(25000, 11250))
> [1] 11250
>
> > length(sample(25000, 25000*.45))
> [1] 11250
>
> So the question is, why do I get 11249 out of the first command and not
> 11250?  I can't figure this one out.
>
> Thanks
>
> Cory
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> 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.
>

        [[alternative HTML version deleted]]

______________________________________________
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