Skip to content

help with error

1 message · deanj2k

#
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