Displaying 20 results from an estimated 10000 matches similar to: "LaTeX output with mlogit or multinom"
2008 Oct 11
6
Sweave-LaTEX question
Hi:
I am working on a publication and I have heard about LaTEX but I haven't actually tried to learn about it until today. I've found a few examples but I can't actually make them work properly. I have a couple of questions:
Does LATEX have to be installed on your computer? How does the xtable package and Sweave work together? How can I make the code below create a table as pdf file?
2009 Nov 24
6
From R to LaTeX to pdf?
Hi all,
Anyone experienced in the LaTeX format?
I'm trying to use the xtable package to create nice anova tables, but how do I do to produce a pdf from the resulting LaTeX table? I've tried WinShell and MiKTeX, but I couldn't get any of them working...
Here's an example of the output in R:
% latex table generated in R 2.9.2 by xtable 1.5-6 package
% Tue Nov 24
2005 Nov 15
1
latex table and R codes
Dear R-help assistance;
may you help me regrding to following inquiry!?
you know what, i have generated three tables by xtable R function, right
now i am trying to make a single table by putting these tables
togethere; actully i am going to come upt with *.tex (latex) file.
because i have more extera non-R material, i am using Sweave to read R
instructions, and finally i hope to end up with a
2008 Feb 26
2
Custom LaTeX tables
Hello,
I am very happy that I have Sweave and R to write my
papers. But I still have to do some tables by hand
since I have not found out how I can customize the
latex tables produced by R further (I mainly use
xtable()). Like for instance, I have a table which
needs an extra row every few rows as a group header
and sometimes I want some extra horizontal lines in
the table and also a multicolumn
2013 Jul 15
2
tablas de R a latex
Hola a todos
Me gustaría pasar directamente tablas a latex, he probado con Sweave
pero no consigo dar con la tecla
Saludos
--
José Miguel Contreras García
Departamento de Didáctica de la Matemática
Universidad de Granada
Campus de Cartuja
18071 Granada (España)
Email: jmcontreras en ugr.es
http://www.ugr.es/~ jmcontreras
Tlf: 958243952
2015 Jun 09
3
Tablas con tabular en latex
Buenos días,
estoy tratando de encontrar la manera de generar tablas en ficheros pdf
(sweave) a través del paquete tables. He mirado que este tema esta activo
en las listas pero no logro localizar las respuestas antes dadas, por eso
lanzo esta consulta.
Mi fichero .rnw tiene el siguiente aspecto:
*******
\documentclass{article}
\usepackage{array,booktabs,caption}
\begin{document}
2015 Dec 28
2
Tablas de contingencia en latex
?
Buenas tardes,
os pido ayuda sobre el siguiente tema. Tengo interes en mostrar informes
con Sweave/Latex y para ello genero tablas con xtable. Sin embargo muestra
la tabla al completo cuando lo que deseo es agrupar las celdas con el mismo
dato para dar claridad a la tabla.
La salida de xtable me genera:
[image: Imágenes integradas 3]
Para dar claridad lo he intentado con latex(tabular())
2012 Feb 03
1
Using {tabularx} latex package with the {xtable} package?
I am trying to solve the problem of having a latex table (produced using
the xtable <http://cran.r-project.org/web/packages/xtable/index.html>, then
inserted to a latex file using Sweave), exceeding the margins of my LaTeX
document.
I found that one such solution can be based on the
tabularx<http://ctan.org/pkg/tabularx> package,
and I am wondering what would be the best way to
2012 Aug 13
2
R table as integrable object for large Latex Documents - avoiding SWeave
Hi, I am wondering whether some of you have a pointer to an alternative.
I am currently writing my thesis in Latex (several documents), well grown
over time, I am sure many of you are familiar with the situation. Likewise I
am doing the quantitative analysis with R, and again a lot of lines of more
or less wellwritten code. The outputs are graphs (which one can wonderfully
integrate as PNG objects
2008 Jul 03
2
latex styling for R regression outputs
Hi everybody,
i recently found the latex() command in the Hmisc library and i am
trying to style some regression outputs with latex. i am pretty new to
latex and math mode. So I wonder if there?s some sample script for a
basic output. I read lots of econometrics books and regression outputs
looked the same all the way. I mean there must be the one simple
styling that is been used so
2009 Apr 08
1
Sweave problem, with multicolumn tables from R to LaTeX
Hi there,
I have been using the example provided bellow for a while, and It was
working without any problem. Nevertheless, just since 2-3 days is not
working, probably because I did update.packages(). I have tried to
re-install the older versions of the packages Hmisc() and xtable(), but
still does not work. Can you run this example, and tell me if you got
the same problems?
I use
2009 Nov 12
1
Rearranging long tables, Sweave, xtable, LaTeX
Dear R-users,
consider the two following outputs, ## 1 and ## 2
\begin{Scode}{Setup, echo = FALSE, print = FALSE, eval = TRUE}
with(expand.grid(Fact1 = 1:3, Fact2 = 1:40), table(Fact1,
Fact2)) ## 1
xtable(with(expand.grid(Fact1 = 1:3, Fact2 = 1:40), table(Fact1,
Fact2))) ## 2
\end{Scode}
The first line
with(expand.grid(Fact1 = 1:3, Fact2 = 1:40), table(Fact1, Fact2))
2010 Jun 06
2
fitting multinomial logistic regression
Sir,
I want to fit a multinomial logistic regression in R.I think mlogit() is the
function for doing this. mlogit () is in packege globaltest.But, I can not
install this package. I use the following:
install.packages("globaltest")
Can you help me?
Regards,
Suman Dhara
[[alternative HTML version deleted]]
2013 Jul 15
2
tablas de R a latex
Hola:
El 15/07/13 09:41, José Luis Cañadas Reche escribió:
> Hola. Yo suelo utilizar knitr, con sweave creo qeu había que utilizar
> print(objeto xtable)
>
> De esta forma, utilizando xtable
>
>
> library(xtable)
> tabla.xtable <- xtable ( tutabla)
> print(tabla.xtable)
No es necesario utilizar print, con xtable(tutabla) basta.
Las excepciones son cuando hay que
2011 Dec 04
1
LaTeX output for summary.lm object - while displaying the information outside the table
This seemed to me to be basic, but I can't seem to find a solution online,
so I wondered what I might be missing.
I wish to include the output of an lm summary object inside an Sweave
(.Rnw) document. I can either output the summary.lm as is, or use the
xtable/Hmisc packages (through xtable or latex commands).
Is there something like xtable that also gives the summary information
which is
2007 Jun 23
2
latex of ftable (Hmisc?)
Dear latexRs,
I tried to make a latex printout of a simple categorial ftable. It should
look like the output of print.ftable. Any ideas how to get the syntax of
summary.formula right. Or some alternative? As far I see, xtable does not
have method for ftable.
Dieter
library(Hmisc)
n=500
sex <- factor(sample(c("m","f"), n, rep=TRUE))
treatment <-
2005 May 13
5
Conflict between xtable and Hmisc when using Sweave?
Dear R users,
The Sweave code below runs fine, as it is. However, an error occurs when
the line 'library(xtable)' is uncommented:
Error: chunk 1
Error in "label<-"(`*tmp*`, value = "month") :
no applicable method for "label<-"
Is anybody aware of this and knows a workaround?
Thanks,
Sander.
*******************
2004 Jan 08
2
Sweave & xtable
I am just starting to learn Sweave (really neat tool). I am pretty
early in the learning curve (I had to think a moment ago whether a # or
% was the appropriate comment character).
I have successfully incorporated simple graphics and outputs, but am
having trouble getting a latex (xtable) table to function properly.
Latex is seemingly treating the xtable code as input or verbatim text.
That
2009 Sep 17
3
latex code in R -> convert to pdf
hi,
is it possible to convert latex code to pdf in R (like a latex-program
would do it)?
Is there a package that comes with this capabilities?
My problem is that I want to generate tables automatically -
and I can't use a latex editor at that computer ...
Besides latex ... are there good ways to generate tables in R?
thanks for any suggestions!
2008 Apr 12
2
Predict Function
Hi all - my first time here and am having an issue with the Predict function.
I am using a tutorial as a guide, locate here:
http://www.ats.ucla.edu/STAT/R/dae/mlogit.htm
My code gives this error
> newdata1$predicted <- predict(mlogit,newdata=newdata1,type="response")
Error in `$<-.data.frame`(`*tmp*`, "predicted", value = c(0.332822934960197,
:
replacement has