\begin{Schunk}
\begin{Sinput}
  dat[dat$ed == 47, "ed"] <- 17
\end{Sinput}
\end{Schunk}
