<b>texreg</b>: Conversion of Statistical Model Output in<i>R</i>to<a:math xmlns:a="http://www.w3.org/1998/Math/MathML"><a:mrow><a:msup><a:mrow><a:mi fontstyle="normal">L</a:mi></a:mrow><a:mrow><a:mi fontstyle="normal">A</a:mi></a:mrow></a:msup><a:msub><a:mrow><a:mi fontstyle="normal">T</a:mi></a:mrow><a:mrow><a:mi fontstyle="normal">E</a:mi></a:mrow></a:msub><a:mi fontstyle="normal">X</a:mi></a:mrow></a:math>and HTML Tables 论文

2013Journal of Statistical Software引用 224顶会
Data Analysis with RStatistics Education and MethodologiesMathematics, Computing, and Information Processing

摘要

A recurrent task in applied statistics is the (mostly manual) preparation of model output for inclusion in LATEX, Microsoft Word, or HTML documents – usually with more than one model presented in a single table along with several goodness-of-fit statistics. However, statistical models in R have diverse object structures and summary methods, which makes this process cumbersome. This article first develops a set of guidelines for converting statistical model output to LATEX and HTML tables, then assesses to what extent existing packages meet these requirements, and finally presents the texreg package as a solution that meets all of the criteria set out in the beginning. After providing various usage examples, a blueprint for writing custom model extensions is proposed.