Re: [R] xtable with Sweave

2010-06-14 Thread James W. MacDonald
Hi Silvano, Silvano wrote: Hi, I'm using Sweave to prepare a descriptive report. Are at least 20 tables built with xtable command of kind: <>= q5 = factor(Q5, label=c("Não", "Sim")) (q5.tab = cbind(table(q5))) @ <>= xtable(q5.tab, align="l|c", caption.placement = "top", table.placement='H') @

Re: [R] xtable with Sweave

2010-06-14 Thread Marc Schwartz
On Jun 14, 2010, at 8:09 AM, Silvano wrote: > Hi, > > I'm using Sweave to prepare a descriptive report. > Are at least 20 tables built with xtable command of kind: > > <>= > q5 = factor(Q5, label=c("Não", "Sim")) > (q5.tab = cbind(table(q5))) > @ > > <>= > xtable(q5.tab, align="l|c", caption.pl