Displaying 2 results from an estimated 2 matches for "lrrr".
Did you mean:
grrr
2009 Apr 23
0
latex(Hmisc): cgroup + rownames shifts column names
...om sessionInfo() at the bottom.
test.df <- data.frame(row.names=letters[1:4], col1=1:4, col2=4:1, col3=4:7)
latex(test.df, file="", table.env=FALSE, center="none")
% latex.default(test.df, file = "", table.env = FALSE, center = "none") %
\begin{tabular}{lrrr}
\hline\hline
%% Comment added by ME -- this next line is the one that is fine without cgroup
\multicolumn{1}{l}{test.df}& \multicolumn{1}{c}{col1}&
\multicolumn{1}{c}{col2}& \multicolumn{1}{c}{col3} \tabularnewline
\hline a&$1$&$4$&$4$\tabularnewline
b&$2$&$3$&$...
2010 Dec 07
1
latex() hangs R console
...les\\QuickTime\\QTSystem\\"
Example:
> x <- matrix(1:6, nrow=2, dimnames=list(c('a','b'),c('c','d','this
that')))
> latex(x, file="")
% latex.default(x, file = "")
%
\begin{table}[!tbp]
\begin{center}
\begin{tabular}{lrrr}\hline\hline
\multicolumn{1}{l}{x}&\multicolumn{1}{c}{c}&\multicolumn{1}{c}{d}&\multicolumn{1}{c}{this
that}\tabularnewline
\hline
a&$1$&$3$&$5$\tabularnewline
b&$2$&$4$&$6$\tabularnewline
\hline
\end{tabular}
\end{center}
\end{table}
> cd("c:/r/test&q...