while (theta1!=theta) {...} gives the error message: Error in while (theta1 != theta) { : missing value where TRUE/FALSE needed but when i extract theta1!=theta and paste it into the console it comes up with the output TRUE which contradicts the error message- im not sure what I am doing wrong -- View this message in context: http://www.nabble.com/help-with-error-tp23623932p23623932.html Sent from the R help mailing list archive at Nabble.com.