\begin{Schunk}
\begin{Sinput}
  dat$noise[dat$noise > mean(dat$noise)] <- NA
\end{Sinput}
\end{Schunk}
