How can I set the column widths of individual columns in the knitr
(Rmd) output of a code chunk using the xtable
package?
MWE
```{r setup, include=FALSE}
library(xtable)
```
```{r, results="asis", echo=FALSE}
print(xtable(mtcars[1:2, 1:2]), type="html", include.rownames=FALSE)
```
Lets say I want to make column_#1 - 2 inches wide and column_#2 - 3 inches wide.
I'm not married to xtable
here but don't know of any other html table out packages that could do this.