Top "Xtable" questions

A function of an R package of the same name, used to convert an R object into an object that may be printed as a LaTeX or HTML table.

add commas into number for output

I'm outputting a dataframe to html via xtable. I want to add commas to numbers in a couple columns of …

r xtable
Control number of decimal places on xtable output in R

I am using Rmd file to create a report and I used xtable package to create the table. The output …

r xtable
General guide for creating publication quality tables using R, Sweave, and LaTeX

There are a range of tools available for creating publication quality tables using R, Sweave, and LaTeX. In particular, there …

r sweave xtable
How to include a Percent Symbol in an xtable caption using Sweave in R

I'm trying to use Sweave to generate a statistical report, and am trying to put a caption on an xtable, …

r latex sweave xtable
Hiding NA's when printing a dataframe in knitr

I'm trying to print a table in knitr from a data frame using xtable . The table in the example below …

r knitr na xtable
knitr, R Markdown, and xtable: xtable tables within HTML table

Suppose I want to print HTML tables using xtable, side-by-side. I tried doing this in an .Rmd file with: <…

html r knitr xtable
possible to create latex multicolumns in xtable?

I am using xtable with R Markdown and knitr to produce .tex files that I call with \input{}. Works great, …

r latex knitr xtable r-markdown
How to remove the % lines in xtable table output by Knitr

By using xtable and knitr, I add a table to my RMD document and export to PDF file. ```{r, results=…

r knitr xtable
Create a table in R with header expanding on two columns using xtable or any package

I want to combine the tables from two dataframes and want to export that table to latex. The table that …

r xtable
Sweave xtable: how to position tables between text?

I have a number of tables with text around them describing them. Something like this: This table shows blah blah... &…

r latex sweave xtable