Code: Select all
\documentclass[11pt,a4paper]{article}
\begin{document}
<<Read>>=
library("Ecdat")
data(Schooling)
<<echo=FALSE,keep.source=TRUE,results=tex>>=
library(xtable)
print(xtable(summary(Schooling)))
\end{document}
THX!
Code: Select all
\documentclass[11pt,a4paper]{article}
\begin{document}
<<Read>>=
library("Ecdat")
data(Schooling)
<<echo=FALSE,keep.source=TRUE,results=tex>>=
library(xtable)
print(xtable(summary(Schooling)))
\end{document}
NEW: TikZ book now 40% off at Amazon.com for a short time.
NEW: TikZ book now 40% off at Amazon.com for a short time.