Shige Song
2010-Feb-14 15:06 UTC
[R] Get rid of the first row of the LaTeX table generated by xtable
Dear All, I am trying to generate a LaTeX table from a small data frame using xtable. I have three variable and 10 records. However, the resulted LaTeX table has four columns (instead of three), of which the first column seems to be an automatically generated ID. Is there a way to get rid of this column? Thanks. Shige
Liviu Andronic
2010-Feb-14 15:11 UTC
[R] Get rid of the first row of the LaTeX table generated by xtable
On 2/14/10, Shige Song <shigesong at gmail.com> wrote:> column seems to be an automatically generated ID. Is there a way to > get rid of this column? >Perhaps ?print.xtable include.rownames=F Liviu
Uwe Ligges
2010-Feb-14 15:11 UTC
[R] Get rid of the first row of the LaTeX table generated by xtable
See ?print.xtable and its argument "include.rownames". Uwe Ligges On 14.02.2010 16:06, Shige Song wrote:> Dear All, > > I am trying to generate a LaTeX table from a small data frame using > xtable. I have three variable and 10 records. However, the resulted > LaTeX table has four columns (instead of three), of which the first > column seems to be an automatically generated ID. Is there a way to > get rid of this column? > > Thanks. > > Shige > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
Shige Song
2010-Feb-14 15:13 UTC
[R] Get rid of the first row of the LaTeX table generated by xtable
Dear Livlu and Uwe, This is exactly what I need, thanks. Shige On Sun, Feb 14, 2010 at 10:11 AM, Uwe Ligges <ligges at statistik.tu-dortmund.de> wrote:> See ?print.xtable and its argument "include.rownames". > > Uwe Ligges > > On 14.02.2010 16:06, Shige Song wrote: >> >> Dear All, >> >> I am trying to generate a LaTeX table from a small data frame using >> xtable. I have three variable and 10 records. However, the resulted >> LaTeX table has four columns (instead of three), of which the first >> column seems to be an automatically generated ID. Is there a way to >> get rid of this column? >> >> Thanks. >> >> Shige >> >> ______________________________________________ >> R-help at r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide >> http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. >