Re: [R] for loop function output

2010-02-12 Thread Chris Campbell
On Fri, Feb 12, 2010 at 01:26, seydahmet ercan wrote: > Hello all, > I am trying to run a simulation. the simulation presented below. > >> rep=5 >> sr=.10 # selection ratio >> pmin=.10 # minority ratio >> nap=1000 # total number of applicant >> nsle=sr*nap # number of ee selected >> nb=nap*pmin #

Re: [R] for loop function output

2010-02-11 Thread Daniel Malter
riday, February 12, 2010 1:27 AM To: r-help@r-project.org Subject: [R] for loop function output Hello all, I am trying to run a simulation. the simulation presented below. > rep=5 > sr=.10 # selection ratio > pmin=.10 # minority ratio > nap=1000 # total number of applicant > nsle=s

[R] for loop function output

2010-02-11 Thread seydahmet ercan
Hello all, I am trying to run a simulation. the simulation presented below. > rep=5 > sr=.10 # selection ratio > pmin=.10 # minority ratio > nap=1000 # total number of applicant > nsle=sr*nap # number of ee selected > nb=nap*pmin # number of minority > nw=nap-nb # number of majority > mb=100 # mea