Hi Dennis, I see your point about using a different name for the runif() functions, other then the one I used to stimulate the bias coins. I start to get what you and David meant after thinking it through for a while regarding with comparison the biased dice and the uniform distribution, but the difficulty I'm experiencing now is how?
How, as in how should I write it in R to make such comparison. Can you please make more suggestions or elaborate more to guide me on how to make it work? thanks! -- View this message in context: http://r.789695.n4.nabble.com/ifelse-command-tp2329538p2330617.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.