Re: [R] Simulation problem.

2010-04-14 Thread Greg Snow
ct.org > Subject: [R] Simulation problem. > > Hi, > I have problem with simulating. > This is my task... > > Suppose that there are N persons some of whom are sick with influenza. > The > following assumptions are made: > * when a sick person meets a healthy one, the chance

[R] Simulation problem.

2010-04-13 Thread Piotr Arendarski
Hi, I have problem with simulating. This is my task... Suppose that there are N persons some of whom are sick with influenza. The following assumptions are made: * when a sick person meets a healthy one, the chance is รก that the latter will be infected * all encounters are between two persons Wri