powered by
latexTabular creates a character vector representing a matrix or data frame in a simple tabular environment.
latexTabular
latexTabular(x, headings=colnames(x), align =paste(rep('c',ncol(x)),collapse=''), halign=paste(rep('c',ncol(x)),collapse=''), helvetica=TRUE, translate=TRUE, hline=0, center=FALSE, ...)
a character string containing LaTeX markup
latex.default, format.df
latex.default
format.df
x <- matrix(1:6, nrow=2, dimnames=list(c('a','b'),c('c','d','this that'))) latexTabular(x) # a character string with LaTeX markup
Run the code above in your browser using DataLab