\begin{Schunk}
\begin{Sinput}
 dat$y[dat$y %in% seq(11, 19, by = 2)] <- NA
\end{Sinput}
\end{Schunk}
