Re: [R] [help] simulation of a simple Marcov Stochastic process for population genetics

2008-08-21 Thread z3mao
Thank you so much! -- View this message in context: http://www.nabble.com/-help--simulation-of-a-simple-Marcov-Stochastic-process-for-population-genetics-tp19085705p19101425.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-pr

[R] [help] simulation of a simple Marcov Stochastic process for population genetics

2008-08-21 Thread z3mao
Hi, this is my first time using R. I want to simulate the following process: "in a population of size N, there are i individuals bearing genotype A, the number of those bearing A is j in the next generation, which following a binominal distribution (choose j from 2*N, the p is i/2*N), to plot the