\begin{Schunk}
\begin{Sinput}
 dat$y <- ifelse(dat$y > 11, NA, dat$y)
\end{Sinput}
\end{Schunk}
