Re: [R] Hi, Coding problem

2009-02-26 Thread Greg Snow
It looks like what you did was something like: > tmp <- sim(100) > table(tmp)/100 To get your results (it is easier for us to help if you tell us what you actually did, also setting a seed and telling us that seed helps us reproduce what you did exactly). The reason that you did not see 9 and

Re: [R] Hi, Coding problem

2009-02-26 Thread Uwe Ligges
Ssophia wrote: Hi, there Below is my code to one Homework question. I couldn't come up with the reasonable answer. PLEASE do read the posting guide http://www.R-project.org/posting-guide.html could you please help me to figure out what is t