\begin{Schunk}
\begin{Sinput}
 dat$heightc <- dat$height - mean(dat$height, na.rm = TRUE)
 ## same as dat$heightc <- scale(dat$height, scale = FALSE)
\end{Sinput}
\end{Schunk}
