texreg: conversion of statistical model output in R to LaTeX and HTML tables

Leifeld, P. (2013) texreg: conversion of statistical model output in R to LaTeX and HTML tables. Journal of Statistical Software, 55(8), pp. 1-24. (doi: 10.18637/jss.v055.i08)

[img]
Preview
Text
120945.pdf - Published Version
Available under License Creative Commons Attribution.

393kB

Abstract

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.

Item Type:Articles
Keywords:Reporting, table, coefficients, regression, LaTeX, microsoft word, HTML, markdown.
Status:Published
Refereed:Yes
Glasgow Author(s) Enlighten ID:Leifeld, Professor Philip
Authors: Leifeld, P.
Subjects:Q Science > QA Mathematics > QA76 Computer software
College/School:College of Social Sciences > School of Social and Political Sciences
Journal Name:Journal of Statistical Software
Publisher:American Statistical Association
ISSN:1548-7660
Copyright Holders:Copyright © 2013 Philip Leifeld
First Published:First published in Journal of Statistical Software 55(8): 1-24
Publisher Policy:Reproduced under a Creative Commons License

University Staff: Request a correction | Enlighten Editors: Update this record