number an equation in latex code example
Example: latex number listing as equation
\begin{equation} \label{eq:lm.eq:lm.model}
\text{\lstinline[language=R]|lm.model <- lm(Total.Score ~ Game.Num, data = sid1133)|}
\end{equation}
\begin{equation} \label{eq:lm.eq:lm.model}
\text{\lstinline[language=R]|lm.model <- lm(Total.Score ~ Game.Num, data = sid1133)|}
\end{equation}