IDEAS home Printed from https://ideas.repec.org/a/jss/jstsof/v055i08.html
   My bibliography  Save this article

texreg: Conversion of Statistical Model Output in R to LATEX and HTML Tables

Author

Listed:
  • Leifeld, Philip

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.

Suggested Citation

  • Leifeld, Philip, 2013. "texreg: Conversion of Statistical Model Output in R to LATEX and HTML Tables," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 55(i08).
  • Handle: RePEc:jss:jstsof:v:055:i08
    DOI: http://hdl.handle.net/10.18637/jss.v055.i08
    as

    Download full text from publisher

    File URL: https://www.jstatsoft.org/index.php/jss/article/view/v055i08/v55i08.pdf
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v055i08/texreg_1.30.tar.gz
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v055i08/v55i08.R
    Download Restriction: no

    File URL: https://libkey.io/http://hdl.handle.net/10.18637/jss.v055.i08?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Hunter, David R. & Handcock, Mark S. & Butts, Carter T. & Goodreau, Steven M. & Morris, Martina, 2008. "ergm: A Package to Fit, Simulate and Diagnose Exponential-Family Models for Networks," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 24(i03).
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Moeliono, Moira & Brockhaus, Maria & Gallemore, Caleb & Dwisatrio, Bimo & Maharani, Cynthia D. & Muharrom, Efrian & Pham, Thuy Thu, 2020. "REDD+ in Indonesia: A new mode of governance or just another project?," Forest Policy and Economics, Elsevier, vol. 121(C).
    2. Bender-deMol, Skye & Morris, Martina & Moody, James, 2008. "Prototype Packages for Managing and Animating Longitudinal Network Data: dynamicnetwork and rSoNIA," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 24(i07).
    3. Darko Cherepnalkoski & Andreas Karpf & Igor Mozetič & Miha Grčar, 2016. "Cohesion and Coalition Formation in the European Parliament: Roll-Call Votes and Twitter Activities," PLOS ONE, Public Library of Science, vol. 11(11), pages 1-27, November.
    4. Youyi Bi & Yunjian Qiu & Zhenghui Sha & Mingxian Wang & Yan Fu & Noshir Contractor & Wei Chen, 2021. "Modeling Multi-Year Customers’ Considerations and Choices in China’s Auto Market Using Two-Stage Bipartite Network Analysis," Networks and Spatial Economics, Springer, vol. 21(2), pages 365-385, June.
    5. Neal, Zachary & Domagalski, Rachel & Yan, Xiaoqin, 2020. "Party Control as a Context for Homophily in Collaborations among US House Representatives, 1981 -- 2015," OSF Preprints qwdxs, Center for Open Science.
    6. Prochnow, Tyler & Patterson, Megan S. & Hartnell, Logan & West, Geoffrey & Umstattd Meyer, M. Renée, 2021. "Implications of race and ethnicity for child physical activity and social connections at summer care programs," Children and Youth Services Review, Elsevier, vol. 127(C).
    7. Krivitsky, Pavel N., 2017. "Using contrastive divergence to seed Monte Carlo MLE for exponential-family random graph models," Computational Statistics & Data Analysis, Elsevier, vol. 107(C), pages 149-161.
    8. Ge, Erhao & Cairang, Dongzhi & Mace, Ruth, 2022. "Religiosity structures social networks in a Tibetan population," OSF Preprints qpa4b, Center for Open Science.
    9. Cody J. Dey & James S. Quinn, 2014. "Individual attributes and self-organizational processes affect dominance network structure in pukeko," Behavioral Ecology, International Society for Behavioral Ecology, vol. 25(6), pages 1402-1408.
    10. Parra, Diana C. & Dauti, Marsela & Harris, Jenine K. & Reyes, Lissette & Malta, Deborah C. & Brownson, Ross C. & Quintero, Mario A. & Pratt, Michael, 2011. "How does network structure affect partnerships for promoting physical activity? Evidence from Brazil and Colombia," Social Science & Medicine, Elsevier, vol. 73(9), pages 1365-1370.
    11. Ma, Ding & Yu, Qian & Li, Jing & Ge, Mengni, 2021. "Innovation diffusion enabler or barrier: An investigation of international patenting based on temporal exponential random graph models," Technology in Society, Elsevier, vol. 64(C).
    12. Ladan Ghahramani & Jalayer Khalilzadeh & Birendra KC, 2018. "Tour guides’ communication ecosystems: an inferential social network analysis approach," Information Technology & Tourism, Springer, vol. 20(1), pages 103-130, December.
    13. Lyubchich, Vyacheslav & Woodland, Ryan J., 2019. "Using isotope composition and other node attributes to predict edges in fish trophic networks," Statistics & Probability Letters, Elsevier, vol. 144(C), pages 63-68.
    14. Milad Abbasiharofteh & Tom Broekel, 2021. "Still in the shadow of the wall? The case of the Berlin biotechnology cluster," Environment and Planning A, , vol. 53(1), pages 73-94, February.
    15. Nunes, Matthew, 2015. "Statistical Analysis of Network Data with R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 66(b01).
    16. Nolan E. Phillips & Brian L. Levy & Robert J. Sampson & Mario L. Small & Ryan Q. Wang, 2021. "The Social Integration of American Cities: Network Measures of Connectedness Based on Everyday Mobility Across Neighborhoods," Sociological Methods & Research, , vol. 50(3), pages 1110-1149, August.
    17. Goodreau, Steven M. & Handcock, Mark S. & Hunter, David R. & Butts, Carter T. & Morris, Martina, 2008. "A statnet Tutorial," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 24(i09).
    18. Angel Ortiz-Pelaez & Getaneh Ashenafi & Francois Roger & Agnes Waret-Szkuta, 2012. "Can Geographical Factors Determine the Choices of Farmers in the Ethiopian Highlands to Trade in Livestock Markets?," PLOS ONE, Public Library of Science, vol. 7(2), pages 1-11, February.
    19. Lasse Folke Henriksen & Stefano Ponte, 2018. "Public orchestration, social networks, and transnational environmental governance: Lessons from the aviation industry," Regulation & Governance, John Wiley & Sons, vol. 12(1), pages 23-45, March.
    20. Abhijit Chakraborty & Hazem Krichene & Hiroyasu Inoue & Yoshi Fujiwara, 2019. "Exponential random graph models for the Japanese bipartite network of banks and firms," Journal of Computational Social Science, Springer, vol. 2(1), pages 3-13, January.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:jss:jstsof:v:055:i08. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F. Baum (email available below). General contact details of provider: http://www.jstatsoft.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.