# [R] Table and Sweave

Silvano silvano at uel.br
Tue May 11 22:22:27 CEST 2010

Hi,

in Latex I get the table using:

\begin{table}[H]
\centering
\renewcommand{\arraystretch}{1.3}
\setlength{\tabcolsep}{18pt}
\begin{tabular}{cc}     \hline
$18 \vdash 26$ &   11     \\
$26 \vdash 34$ &    8     \\
$34 \vdash 42$ &   26     \\
$42 \vdash 50$ &   20     \\
$50 \vdash 58$ &   23     \\
$58 \vdash 66$ &   30     \\
$66 \vdash 74$ &   17     \\
$74 \vdash 82$ &    9     \\
$82 \vdash 90$ &    2     \\
$90 \vdash 98$ &    2     \\ \hline
\end{tabular}
\end{table}

I tried get a similar table using Sweave, but it isn't work.
The commands are:

<<>>=
breaks=c(18,26,34,42,50,58,66,74,82,90,98), right=F)
@

breaks=c(18,26,34,42,50,58,66,74,82,90,98), right=F)
@

@

or

<<>>=
@

but they are not the way I want.

Any suggestions?

--------------------------------------
Silvano Cesar da Costa
Departamento de Estatística