It probably means that t1 had NAs. look at the content of t1 at the point of the error. You might want to test to see if there is an NA in t1 before the test.
2010/4/15 <[email protected]> > hi, > > i have a simulation code for some two sample tests and in the middle of > the simulation, the code gave > > Error in if (t1[1] > 0 || t1[2] < 0) yhb = yhb + 1 : > missing value where TRUE/FALSE needed > > what does it mean and how can it be solved.. > > fýrat > > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html<http://www.r-project.org/posting-guide.html> > and provide commented, minimal, self-contained, reproducible code. > -- Jim Holtman Cincinnati, OH +1 513 646 9390 What is the problem that you are trying to solve? [[alternative HTML version deleted]]
______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

