Re: [R] linear mixed effect model with ordered logit/probit link?

From: Arturo Coral Alamo <arturo.coral_at_gmail.com>
Date: Thu 13 Oct 2005 - 06:03:08 EST

Hi friends, I have a question.

I have this piece of my program and how you see, that's ok (whit > num<- 0.002)

num<-0.002
factor1<-1;
while(1)
{

if (num*factor1<1)
factor1<-factor1*10
else
{

print("out ok!!");
break;
}
}

[1] "out ok!!"

but when I change (whit > num<-0) R show this:

Error in if (num * factor1 < 1) factor1 <- factor1 * 10 else { : missing value where TRUE/FALSE needed

I can't understand that error, can somebody help, please thanks
 Jac

        [[alternative HTML version deleted]]



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Oct 13 06:16:49 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 18:49:02 EST