How can I print latex-formatted tables (e.g. summary statistics, no regression output) in R, but without the environment code like \begin{table}[!htbp] \centering
?
I tried many packages listed in Tools for making latex tables in R. Only the stargazer package seems to have an option for suppressing Latex environment code, namely out.header=FALSE
. But that option seems to have no effect. Other packages seem to haven even less options.
Background: I have two table of very similar kind (spearman and pearson correlation, in my very case) which I would like to have in one table in Latex. I think of simply calling the R generated, latex-formatted output in a third latex file, which is ultimately called in the Latex document.
But if there are other possibilities to create two R generated Latex-style tables in one .tex
document, I'd be glad to use them.