\begin{Schunk}
\begin{Sinput}
 affect$ethnicityf <- factor(affect$ethnicity)
\end{Sinput}
\end{Schunk}
