Why does:
> numeric(0.2*25)
return
[1] 0 0 0 0 0
but
> numeric((1-0.8)*25)
returns
[1] 0 0 0 0
[running version 3.2.0]
[Apologies if this has been asked before - it's a hard question to find
specific search terms for]
Thanks,
Scott
______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.