search for: newcolumntyp

Displaying 5 results from an estimated 5 matches for "newcolumntyp".

Did you mean: newcolumntype
2007 Feb 18
1
Suppressing \newcolumntype{} declaration in latex.default() in Hmisc
Dear r-helpers, When use latex() on a matrix, I set the option dcolumn = T. As a result, in front of each tabular I get \newcolumntype{.}{D{.}{.}{-1}} The LaTeX compiler complains about these multiple redeclarations. _____________________________ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400 Charlottesville, VA 22904-4400 Parcels: Room 102 Gilmer Hall McCor...
2006 Feb 12
1
Mathematical typesetting of column heads using the latex (Hmisc) function
...= T, booktabs = T, table.env = F) produces the following output after running Sweave: % latex.default(anova(e7.lmer1, e7.lmer2), file = "e7lmer12.tex", rowname = c("nonlinear", "linear"), longtable = FALSE, dcolumn = T, booktabs = T, table.env = F) % \newcolumntype{.}{D{.}{.}{-1}} \begin{center} \begin{tabular}{l.......}\toprule \multicolumn{1}{l}{anova}& \multicolumn{1}{c}{Df}& \multicolumn{1}{c}{AIC}& \multicolumn{1}{c}{BIC}& \multicolumn{1}{c}{logLik}& \multicolumn{1}{c}{Chisq}& \multicolumn{1}{c}{Chi Df}& \multicolumn{1}{c}{Pr...
2006 Mar 13
1
Formatting an anova table using latex
...ot;multip"), longtable = F, dcolumn = T, booktabs = T, table.env = F, rowheads = NULL, colheads = NULL, colnamesTexCmd = c("", "df", "aic", "bic", "logl", "chisq", "chisqdf", "prchisq")) % \newcolumntype{.}{D{.}{.}{-1}} \begin{center} \begin{tabular}{l.......}\toprule \multicolumn{1}{l}{\ }& \multicolumn{1}{c}{\df }& \multicolumn{1}{c}{\aic }& \multicolumn{1}{c}{\bic }& \multicolumn{1}{c}{\logl }& \multicolumn{1}{c}{\chisq }& \multicolumn{1}{c}{\chisqdf }& \multicolumn{...
2009 May 07
0
Hmisc::latex() help
...file = paste('info', j, '.tex', sep = ''), rowlabel = NULL, booktabs = TRUE, here = TRUE, caption = paste(df[j, ], collapse = ''), na.blank = TRUE, dcolumn = TRUE, cdec = c(0, 0, 0, 0, 2, 0, 2, 0, 2)) However, na.blank and cdec make no difference, producing: \newcolumntype{.}{D{.}{.}{-1}} \begin{table}[H] \caption{11000000\label{info}} \begin{center} \begin{tabular}{lD{.}{.}{-1}D{.}{.}{-1}D{.}{.}{-1}D{.}{.}{-1}D{.}{.} {-1}llll}\toprule \multicolumn{1}{l}{necklace}&\multicolumn{1}{c}{originalPosition}& \multicolumn{1}{c}{same}&\multicolumn{1}{c}{r...
2010 Jan 26
3
Formatting cgroup and factor level labels in Hmisc latex function
I'm trying to typeset at simple crosstable with the Hmisc latex function. And I have two problems. 1. How do I make all columns the same width? The Latex function seems very unwilling to break the 'cgroup' labels and the factor level labels. Please have look at this screenshot that shows my problem: >> http://hem.passagen.se/stpe9096/table.png So, how can I make sure that the