\HeaderA{na2false}{Set NAs to FALSE}{na2false}
\keyword{documentation}{na2false}
\keyword{utilities}{na2false}
\begin{Description}\relax
Takes a logical vector as input and set all NAs to FALSE. This may happens when comparison is done on NA values.
\end{Description}
\begin{Usage}
\begin{verbatim}
        na2false(x)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] a logical vector.
\end{ldescription}
\end{Arguments}
\begin{Value}
A logical vector without NAs.
\end{Value}
\begin{Author}\relax
Diego Diez
\end{Author}
\begin{Examples}
\begin{ExampleCode}
## Not run: 
    a <- c(1, 2, 3, NA, 5)
    b <- c(5, 4, NA, 2, 1)
    sel <- a > b
    sel <- na2false(sel)
## End(Not run)
\end{ExampleCode}
\end{Examples}

