Why do I get the following error when my variable in the 'if statement' has
no missing values.
I check with is.na(my variable) and it has no missing values
Error in if (fraction <= 1) { : missing value where TRUE/FALSE needed
Best regards
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list -- To UNSUBSCRIBE and more, see
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.