search for: dcolumn

Displaying 20 results from an estimated 25 matches for "dcolumn".

Did you mean: column
2006 Apr 16
1
dcolumn
Does anyone out there use dcolumn=TRUE in the latex() function in the Hmisc library? I would like to line up the data in a latex table I'm making using latex(), but I'm having some issues with this feature. Since there is no description of it in the help, I thought that it might be incomplete or something like that. On a...
2012 Dec 16
1
lyx knitr y toLatex
...toy utilizando lyx con el módulo de knitr y tengo un problemilla con la función toLatex del paquete memisc. Pongo un ejemplo mejor. En Rstudio lo puedo hacer como sigue en un fichero Rnw. y la tabla en el pdf aparece alineada en el pdf. \documentclass{article} \usepackage{booktabs} \usepackage{dcolumn} \begin{document} <<>>= library(memisc) X1 <- rnorm(1000) X2 <- rnorm(1000) X3 <- rnorm(1000) X4 <- rnorm(1000) #Create a relationship to Model: Y <- X1 + 1.8*X2 -.12*X3 + 1.8*X4 + rnorm(1000) Model.1 <- lm(Y ~ X1 + X2) Model.2 <- lm(Y ~ X1 + X3) Model.3 <- l...
2006 Oct 28
1
(kein Betreff)
...xCmd = "bfseries", rgroupTexCmd = "bfseries", rownamesTexCmd = NULL, colnamesTexCmd = NULL, cellTexCmds = NULL, rowname, cgroup.just = rep("c", length(n.cgroup)), colheads = dimnames(cx)[[2]], extracolheads = NULL, extracolsize = "scriptsize", dcolumn = FALSE, numeric.dollar = !dcolumn, cdot = FALSE, longtable = FALSE, draft.longtable = TRUE, ctable = FALSE, booktabs = FALSE, table.env = TRUE, here = FALSE, lines.page = 40, caption = NULL, caption.lot = NULL, caption.loc = c("top", "bottom"), double.slash...
2006 Feb 12
1
Mathematical typesetting of column heads using the latex (Hmisc) function
Dear r-helpers, I would very much appreciate help with the following problem: The following command (in a .Rnw file) latex(anova(e7.lmer3, e7.lmer4), file = 'e7lmer34.tex', rowname = c ('nonlinear', 'linear'), longtable = FALSE, dcolumn = 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) %...
2003 Jun 13
1
problem with latex of object summary reverse
....225/6.500/6.900| +------------+-----------------+-----------------+-----------------+ > system("cat a.tex") % latex.default(cstats, title = title, caption = caption, rowlabel = rowlabel, col.just = col.just, numeric.dollar = FALSE, insert.bottom = legend, rowname = lab, dcolumn = dcolumn, extracolheads = extracolheads, extracolsize = Nsize, ...) % \begin{table}[!tbp] \begin{center} \caption{Descriptive Statistics by Species\label{a}} \begin{tabular}{lccc}\hline\hline \multicolumn{1}{l}{}& \multicolumn{1}{c}{setosa}& \multicolumn{1}{c}{versicolor}& \multic...
2023 Nov 17
1
Can someone please have a look at this query on stackoverflow?
...geometry package rather than specifying options to the class: e.g. replace your current header: --- title: "Testing landscape and aspect ratio" output: pdf_document: number_sections: true classoption: - landscape - "aspectratio=169" header-includes: - \usepackage{dcolumn} documentclass: article geometry: margin=1.5cm --- with this one: --- title: "Testing landscape and aspect ratio" output: pdf_document: number_sections: true header-includes: - \usepackage{dcolumn} documentclass: article geometry: margin=1.5cm, paperwidth=24cm, paperheight=1...
2006 Mar 13
1
Formatting an anova table using latex
Hi r-helpers, When I issue the command latex(anova(raw1.lmer0, raw1.lmer, raw1.lmerI), file = 'raw1.tex', rownamesTexCmd = c('baR', 'addit', 'multip'), longtable = F, dcolumn = T, booktabs = T, t able.env = F, colheads = NULL, colnamesTexCmd = c ('', 'df', 'aic', 'bic', 'logl', 'chisq', 'chisqdf', 'prchisq')) I get: % latex.default(anova(raw1.lmer0, raw1.lmer, raw1.lmerI), file = "raw1.tex"...
2010 Dec 02
1
latex tables for 3+ dimensional tables/arrays
...e.single latex.function [7] latex.list latex.responseSummary [9] latex.summary.formula.cross latex.summary.formula.response [11] latex.summary.formula.reverse > latex(UCB) Error in x[, j] : incorrect number of dimensions > traceback() 3: format.df(object, dcolumn = dcolumn, na.blank = na.blank, numeric.dollar = numeric.dollar, cdot = cdot, math.row.names = math.row.names, math.col.names = math.col.names, double.slash = double.slash, ...) 2: latex.default(UCB) 1: latex(UCB) -- Michael Friendly Email: friendly AT yorku DOT ca Professo...
2008 Jul 25
2
Package Hmisc, functions summary.formula() and latex(), options pdig, pctdig, eps and prmsd
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?... Nom : non disponible URL : <https://stat.ethz.ch/pipermail/r-help/attachments/20080725/bcafe250/attachment.pl>
2023 Nov 14
2
Can someone please have a look at this query on stackoverflow?
Dear all, I have posted a query which has received a response but that is not working on my computer. Here is the query: https://stackoverflow.com/questions/77387434/pdf-from-rmarkdown-landscape-and-aspectratio-169 Can someone please help me ? Best Regards, Ashim
2023 Nov 18
1
Can someone please have a look at this query on stackoverflow?
...> > e.g. replace your current header: > > --- > title: "Testing landscape and aspect ratio" > output: > pdf_document: > number_sections: true > classoption: > - landscape > - "aspectratio=169" > header-includes: > - \usepackage{dcolumn} > documentclass: article > geometry: margin=1.5cm > --- > > with this one: > > --- > title: "Testing landscape and aspect ratio" > output: > pdf_document: > number_sections: true > header-includes: > - \usepackage{dcolumn} > documentclas...
2010 Jun 18
1
Latex problem in Hmisc (3.8-1) and Mac Os X with R 2.11.1
...;- summary(treatment ~ age + sex + symptom1, method="reverse", test=TRUE) latex(g) > latex(g,file="") % latex.default(cstats, title = title, caption = caption, rowlabel = rowlabel, col.just = col.just, numeric.dollar = FALSE, insert.bottom = legend, rowname = lab, dcolumn = dcolumn, extracolheads = extracolheads, extracolsize = Nsize, ...) % \begin{table}[!tbp] \caption{Descriptive Statistics by treatment\label{g}} \begin{center} \begin{tabular}{lccc}\hline\hline \multicolumn{1}{l}{}&\multicolumn{1}{c}{Drug}&\multicolumn{1}{c}{Placebo}&\multicolu...
2023 Nov 18
2
Can someone please have a look at this query on stackoverflow?
...ing landscape and aspect ratio" > > > output: > > > pdf_document: > > > number_sections: true > > > classoption: > > > - landscape > > > - "aspectratio=169" > > > header-includes: > > > - \usepackage{dcolumn} > > > documentclass: article > > > geometry: margin=1.5cm > > > --- > > > > > > with this one: > > > > > > --- > > > title: "Testing landscape and aspect ratio" > > > output: > > > pdf_document: &...
2023 Nov 18
1
Can someone please have a look at this query on stackoverflow?
...gt; > --- > > title: "Testing landscape and aspect ratio" > > output: > > pdf_document: > > number_sections: true > > classoption: > > - landscape > > - "aspectratio=169" > > header-includes: > > - \usepackage{dcolumn} > > documentclass: article > > geometry: margin=1.5cm > > --- > > > > with this one: > > > > --- > > title: "Testing landscape and aspect ratio" > > output: > > pdf_document: > > number_sections: true > > heade...
2023 Nov 18
1
Can someone please have a look at this query on stackoverflow?
...; > > > output: > > > > pdf_document: > > > > number_sections: true > > > > classoption: > > > > - landscape > > > > - "aspectratio=169" > > > > header-includes: > > > > - \usepackage{dcolumn} > > > > documentclass: article > > > > geometry: margin=1.5cm > > > > --- > > > > > > > > with this one: > > > > > > > > --- > > > > title: "Testing landscape and aspect ratio" > > >...
2006 Nov 06
0
Hmisc, latex cdec not as expected
...opyright (C) 2006 The R Foundation for Statistical Computing ISBN 3-900051-07-0 > > library(Design) > > tmp <- data.frame(x=c(1.0002, 2.013), y=c(1,2)) > tabel <- summary(x~y, data=tmp) > latex(tabel, cdec=3) > latex(tabel, digits=3) Error in format.df(object, dcolumn = dcolumn, na.blank = na.blank, numeric.dollar = numeric.dollar, : only one of digits, dec, rdec, cdec may be given > I hope someone can help. With kind regards Henrik __________________________ Henrik F. Thomsen Msc, PhD, statistician [[alternative HTML versio...
2006 Nov 06
1
Hmisc, latex cdec not as expected - again
...10-03) Copyright (C) 2006 The R Foundation for Statistical Computing ISBN 3-900051-07-0 > > library(Design) > > tmp <- data.frame(x=c(1.0002, 2.013), y=c(1,2)) > tabel <- summary(x~y, data=tmp) > latex(tabel, cdec=3) > latex(tabel, digits=3) Error in format.df(object, dcolumn = dcolumn, na.blank = na.blank, numeric.dollar = numeric.dollar, : only one of digits, dec, rdec, cdec may be given > I hope someone can help. With kind regards Henrik
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...
2008 Oct 18
0
Several problems with hmisc latex function
...like to add more space between the column names and the line above them. With the defaults the column names are extremly close to the line. Adding "\\vspace{5mm} works, but adds the space below the names and not on top of the names, where I want to put it. I'm also struggling with the dcolumn option. Can anyone give a reproducible example for this option. I tried x<-matrix(c(34.567,3.45,4.5789,345.5),2,2) x<-format.df(x,dcolumn=TRUE) latex(x,ctable=T) but it does not work. Thanks for your help! Erich
2009 Aug 19
2
[Hmisc] latex() with ctable=T inserting unwanted empty line in .tex file when used on summary.formula(method="reverse") object
...data=test,method="reverse"),ctable=T,file="test.tex") > readLines("test.tex")[1:5] [1] "% latex.default(cstats, title = title, caption = caption, rowlabel = rowlabel, col.just = col.just, numeric.dollar = FALSE, insert.bottom = legend, rowname = lab, dcolumn = dcolumn, extracolheads = extracolheads, extracolsize = Nsize, ...) " [2] "%"...