Showing posts with label table. Show all posts
Showing posts with label table. Show all posts
Monday, August 26, 2019
Monday, May 25, 2015
Friday, May 22, 2015
Tuesday, March 03, 2015
Friday, October 31, 2014
pander 0.5.0: the next generation of markdown tables in R
I am moving from Sweave to Rmarkdown, this looks very promising.
Thursday, January 16, 2014
Making tables using R
Both the "tables" and "etable" packages are useful for making cross-tabulations.
Saturday, October 05, 2013
Gmisc package
The "gmisc" package provides a function called "htmlTable" that can produce good-looking tables in markdown files.
With the author's help, I was able to make the reshaped data (using the "reshape2" package) work with the "htmlTable" function to create arbitrary descriptive statistics table with Markdown.
With the author's help, I was able to make the reshaped data (using the "reshape2" package) work with the "htmlTable" function to create arbitrary descriptive statistics table with Markdown.
Thursday, September 26, 2013
R to LaTeX options
Tuesday, March 12, 2013
Sunday, November 11, 2012
Tuesday, April 10, 2012
New output processing package
The "rockchalk" package looks promising. I hope it can be as general as the "esttab" package for Stata.
Tuesday, May 10, 2011
Sunday, January 09, 2011
Booktabs with longtable
I finally figured out how to use "booktabs" with "longtable". The "esttab" can be used to produce preliminary output, but the output needs to be manually tuned to get the desired look. Here are come tips., and here is a helpful example. Below is the preamble:
{
\begin{center}
\def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}
\begin{longtable}{l*{4}{c}}
\caption{Something}\\
\toprule
&\multicolumn{1}{c}{Model 1} &\multicolumn{1}{c}{Model 2} &\multicolumn{1}{c}{Model 3} &\multicolumn{1}{c}{Model 4} \\
\endfirsthead
\caption[]{(Continued)} \\
\toprule
&\multicolumn{1}{c}{Model 1} &\multicolumn{1}{c}{Model 2} &\multicolumn{1}{c}{Model 3} &\multicolumn{1}{c}{Model 4} \\
\midrule
\endhead
\midrule \multicolumn{5}{r}{\emph{Continued on next page}}
\endfoot
\endlastfoot
\midrule
{
\begin{center}
\def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}
\begin{longtable}{l*{4}{c}}
\caption{Something}\\
\toprule
&\multicolumn{1}{c}{Model 1} &\multicolumn{1}{c}{Model 2} &\multicolumn{1}{c}{Model 3} &\multicolumn{1}{c}{Model 4} \\
\endfirsthead
\caption[]{(Continued)} \\
\toprule
&\multicolumn{1}{c}{Model 1} &\multicolumn{1}{c}{Model 2} &\multicolumn{1}{c}{Model 3} &\multicolumn{1}{c}{Model 4} \\
\midrule
\endhead
\midrule \multicolumn{5}{r}{\emph{Continued on next page}}
\endfoot
\endlastfoot
\midrule
...
\end{center}
\end{longtable}
}
Tuesday, November 30, 2010
Wrapping text around figures in LaTeX
I found this page very helpful in showing how to create figures with text wrapping around. And this one for making tables.
I am using the LaTeX package by Bruce Donald for my next NIH proposal.
I am using the LaTeX package by Bruce Donald for my next NIH proposal.
Friday, October 22, 2010
For a wider use of R
Two things that are crucial for a wider use of R among applied researchers. The first one is data manipulation/reshaping tool. I think the package "reshape" and "reshape2" have done good job and have largely removed the barrier. The second one is a universal output processing engine, something like the "eststo, esttab, estsadd" combo in Stata. The package "xtable", "memisc", "aprstable", and "estout" have made some progress, but they all are limited to some estimation procedures and none of them provides a universal output process engine for "all" estimation procedures. One of the main reason I am still paying for Stata is the convenience of directly producing publication quality LaTeX tables from any estimation procedures without having to manually change anything.
I wish more attention can be devoted to this latter issue.
I wish more attention can be devoted to this latter issue.
Tuesday, July 13, 2010
Online LaTeX table generater
It probably uses some Perl or Python script to add all the formatting marks, very convenient.
Friday, March 19, 2010
The "apsrtable" is getting better
Now we have both "memisc" and "apsrtable" for producing publication-ready tables from model results.
Thursday, March 11, 2010
Sunday, February 14, 2010
Spreadsheet to LaTeX solutions
Excel2latex and spreadsheet2latex seem to be the only two solutions at the time.
Friday, February 12, 2010
Reshaping data in R
This post explains how to reshape data in R and how to created nicely formated LaTeX using the xtable package.
Subscribe to:
Posts (Atom)