[R] Sweave-LaTEX question
Felipe Carrillo
mazatlanmexico at yahoo.com
Sun Oct 12 01:39:21 CEST 2008
Hi:
I am working on a publication and I have heard about LaTEX but I haven't actually tried to learn about it until today. I've found a few examples but I can't actually make them work properly. I have a couple of questions:
Does LATEX have to be installed on your computer? How does the xtable package and Sweave work together? How can I make the code below create a table as pdf file?
\begin{table}[ht]
\begin{center}
\begin{tabular}{rrrrr}
\hline
& Estimate & Std. Error & z value & Pr($>$$|$z$|$) \\
\hline
(Intercept) & 2.6470 & 0.0698 & 37.94 & 0.0000 \\
male & $-$0.4094 & 0.0482 & $-$8.49 & 0.0000 \\
langarts & $-$0.0147 & 0.0013 & $-$11.34 & 0.0000 \\
\hline
\end{tabular}
\end{center}
\end{table}
I would appreciate it if someone can point me to some
examples about how to do this. Thanks
Felipe D. Carrillo
Supervisory Fishery Biologist
Department of the Interior
US Fish & Wildlife Service
California, USA
More information about the R-help
mailing list