Not reproducible. Posted HTML.
On May 19, 2022 2:30:58 PM PDT, Neha gupta <neha.bologna90 at gmail.com>
wrote:>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]]
>
>______________________________________________
>R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.
--
Sent from my phone. Please excuse my brevity.