My question is regarding xtable
and sweave
.
I have a certain table created in RStudio and want to create a pdf file using it.
I use the package Sweave and write the necessary code and I get the table. Unfortunately, the rownames of the table are aligned to the right instead to the left.
How can I avoid or rectify this?
Any suggestions would be well appreciated.
\rowcolors{2}{white!65}{cyan!35}
\begin{center}
<<xtable1,results=tex,echo=FALSE>>=
xtab<-xtable(ABC)
print(xtab,center = "centering", floating=FALSE)
@
\end{center}