\begin{Schunk}
\begin{Sinput}
 mod2 <- lm(wage ~ occupationf, data=dat) 
\end{Sinput}
\end{Schunk}
