Example code for displaying a matrix (or table or dataframe) using a combination of
-
The R environment for statistical computing and graphics (as in r-project.org)
-
knitr
-
xtable
-
"multicolumn"
knitfoo.Rnw.txt :
readable version of knitfoo.Rnw
knitfoo.Rnw:
What you run
knitfoo.tex
knitfoo.pdf
An Sweave example of roughly the same thing