similar to: dcolumn

Displaying 20 results from an estimated 10000 matches similar to: "dcolumn"

2006 Apr 11
3
problems with rounding in output
Perhaps someone will have a solution to my more general problem, but here is the specific one: I used the round() function to round some estimates to 3 decimal places. I then sent put the rounded estimates in a matrix and used latex() to make a LaTeX table from them. However, in my table, there are estimtes which only have 2 decimal places. I assume that the third decimal place in these numbers
2006 Apr 07
4
saving estimates from a for loop for later use
Thanks to the help of many on this list, I am now an R user and have been able to write some functioning code to do matching estimation. I have two for loops (i in 1:3, and j in 0:2). Within the loops, I had been creating matrices of relevant estimation coefficents in order to make lots of LaTeX tables. Well, now I want to be able to combine the results of many different estimations from within
2006 Apr 05
2
using latex() in R for Unix
I am using R for Unix and want to make some LaTeX tables. I have already played around in R for Windows and have succeeded in making tables that I want using the following code: latex(Estimates, file='out.tex', rowlabel='',digits=3) However, when I use this code in Unix, I can never find the file "out.tex". I assumed that R would send the file to whatever directory I
2006 Apr 12
1
long captions -- new issue
I have found out that the way to have a break apart a long caption in the way that one desires is to have a short caption for use in the list of tables that is not broken with \\ I can manually adjust the LaTeX output from the Hmisc function latex() to get the tables how I want them. However, I would like to automate the creation of these tables. Inside the latex() function, I tried this:
2006 Apr 14
2
another very simple loop question
I have a dataset with 4 years of students, and normally I want to estimate things using each individual year, so I have a for loop as follows for (i in 1:4){} However, the only way I know how to calculate estimates using all four years of data is to put the estimations outside of the loop. Is there anyway to make a for loop that uses all four years at once, then uses each individual year?
2006 May 01
1
code for latex function in Hmisc
Forgive my ignorance, but how I can take a look at the code for the latex function in the Hmisc library? I tried just typing "latex" but all I got was this: > latex function (object, title = first.word(deparse(substitute(object))), ...) { if (!length(oldClass(object))) oldClass(object) <- data.class(object) UseMethod("latex") } What should I do?
2006 Oct 28
1
(kein Betreff)
Frank Harrell rote in a message dating from Oct 8th: > n.group is an argument to latex.default in the Hmisc package I must admit that I can't find it in the function head, which reads on my installation: function (object, title = first.word(deparse(substitute(object))), file = paste(title, ".tex", sep = ""), append = FALSE, label = title, rowlabel = title,
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),
2003 Jun 13
1
problem with latex of object summary reverse
Hi, I have the following problem (library Hmisc loaded, iris data loaded, R Version 1.7.0 (2003-04-16), packages updated, running on a linux Debian i386): > summary(Species~Sepal.Length,method="reverse")->a > a Descriptive Statistics by Species +------------+-----------------+-----------------+-----------------+ | |setosa |versicolor |virginica
2010 Dec 02
1
latex tables for 3+ dimensional tables/arrays
I'm looking for an R method to produce latex versions of tables for table/array objects of 3 or more dimensions, which, of necessity is flattened to a 2D display, for example with ftable(), or vcd::structable, as shown below. I'd be happy to settle for a flexible solution for the 3D case. > UCB <- aperm(UCBAdmissions, c(2, 1, 3)) > ftable(UCB) Dept A B
2010 Jun 18
1
Latex problem in Hmisc (3.8-1) and Mac Os X with R 2.11.1
Dear all, I did post this more or less identical mail in a follow up to another question I posted, but under another heading. I try again, but now under the correct header. upon running this code (from the Hmisc library-latex function) I believe the call to summary.formula is allright and produces wonderful tables, but the latex command results in a correct formatted table but where all the
2012 Dec 16
1
lyx knitr y toLatex
Hola. Estoy 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 <-
2006 Apr 16
1
Var.calc in Match()
Does anyone else find that using the Var.calc option (for heteroscedasticity consistent std. errors) in Match() (from the Matching library) slows down computation of the matching estimator by a lot? I don't really understand why when I use this option it slows down so much, but for me it does significantly. I want to use the heteroscedasticity consistent std. errors in my project, but as long
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
2002 May 15
1
ploting a linear model
Hi I have the result of a linear model "lm98" and I want to plot it to analyse the regression but I'm getting the folowing error message > lm98<-lm(log(U+1)~Bq+Gi+Lv+Tb+Bq:Gi+Bq:Lv+Bq:Tb+Gi:Lv+Gi:Tb+Lv:Bq) > plot(lm98) Error in plot.window(xlim, ylim, log, asp, ...) : need finite ylim values In addition: Warning message: NaNs produced in: sqrt(1 - hii) The
2006 Jun 25
1
pre, code, ```, and a "bc." marker. Was "Re: shortcut for full url as the linktext?"
On 6/18/06, Iain Haslam <iainhaslam at gmail.com> wrote: > > BTW, I really like the new > > > > ```source > > code > > ``` > > > > syntax. *Huge* timesaver. > > Continuing this particular off-topicness: Lucas, are you aware or in > favour of the bc(code). syntax already being used for this [1]? I > mentioned it previously on the list [2],
2023 Nov 17
1
Can someone please have a look at this query on stackoverflow?
Dear Ashim, I don't think the aspectratio is appropriate in this context because it would imply that the beamer (LaTeX) class is used but you're actually using the article (LaTeX) class. You may use specifications of the geometry package rather than specifying options to the class: e.g. replace your current header: --- title: "Testing landscape and aspect ratio" output:
2023 Nov 18
1
Can someone please have a look at this query on stackoverflow?
Dear Olivier, Many thanks for your reply. This works well for me. How did you come up with the pagewidth / pageheight numbers? I do understand that their ratio = 16:9, but how did you choose these numbers? Best Regards, Ashim On Fri, Nov 17, 2023 at 9:25?PM Olivier Crouzet <olivier.crouzet at univ-nantes.fr> wrote: > > Dear Ashim, > > I don't think the aspectratio is
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 18
2
Can someone please have a look at this query on stackoverflow?
Dear Olivier, Many thanks for your reply. Very cool. You know what I thought ? I thought you had modified the A4 sheet size to compute the paperheight and paperwidth ? I wonder if that's another way of proceeding. Best, Ashim On Sat, Nov 18, 2023 at 12:51?PM Olivier Crouzet <olivier.crouzet at univ-nantes.fr> wrote: > > Dear Ashim, > > these are documented in the LaTeX