Re: [R] Problem in applying if statment

2008-06-26 Thread Gabor Grothendieck
Try: RSiteSearch("rejection sampling") On Thu, Jun 26, 2008 at 11:52 PM, Nadeem Shafique <[EMAIL PROTECTED]> wrote: > Respected All, > > I am writing a program in R and facing some problem with applying "if > statment". > > Program first draw random numbers from bivariate normal distribution >

[R] Problem in applying if statment

2008-06-26 Thread Nadeem Shafique
Respected All, I am writing a program in R and facing some problem with applying "if statment". Program first draw random numbers from bivariate normal distribution then compute variable say Pi and Pij from that sample and then further computation .. . . In some samples Pij i