regexport | R Documentation |
The regexport
package provides a system for exporting regression
tables to the format typically used in academic publications. This format
is characterized by a list of regression coefficients presented in rows
and, in the case where more than one regression model is displayed, the
individual regressions are displayed as columns. For each coefficient,
the estimate is presented with the standard error below in parentheses.
Statistically significant coefficients are shown with custom formatting,
defaulting to the typical convention using stars.
This is an alpha release. Your comments and suggestions are appreciated. Please be aware that the package is likely to change in the future, including both underlying data structures and function parameters.
as.regexport
is the main function to convert regression output
into a convenient format for use in publications. In fact, its print
method will display a table that will work for many purposes. However, other
export functions can do better.
regexcel
outputs a single regression model or a list
of
regressions to Microsoft Excel spreadsheet format using the openxlsx
package.
regmarkdown
outputs a single regression model or a list
of regressions to a character vector in Pandoc markdown format, making it
easy to output tables in RMarkdown documents.
reghtml
outputs a single regression model or a list
of
regressions to an html table, making it easy to incorporate in web pages.
Caroline R. Bastian, Research Scholar <cbastian@stern.nyu.edu>
Center for the Future of Management
Leonard N. Stern School of Business
New York University
Citations are appreciated! Please use:
Caroline R. Bastian (2023). regexport: Regression Table Output for R. R package version 0.20.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.