\begin{knitrout}
\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{kframe}
\begin{alltt}
\hlstd{ps.fit.c}\hlkwb{<-}\hlkwd{fitted}\hlstd{(}\hlkwd{glm}\hlstd{(Z}\hlopt{~}\hlstd{X1}\hlopt{+}\hlstd{X2}\hlopt{+}\hlstd{X1}\hlopt{:}\hlstd{X2,}\hlkwc{family}\hlstd{=binomial))}
\end{alltt}
\end{kframe}
\end{knitrout}