MyNixOS website logo
Description

Create Publication-Ready Regression Tables with Panels.

Create an automated regression table that is well-suited for models that are estimated with multiple dependent variables. 'panelsummary' extends 'modelsummary' (Arel-Bundock, V. (2022) <doi:10.18637/jss.v103.i01>) by allowing regression tables to be split into multiple sections with a simple function call. Utilize familiar arguments such as fmt, estimate, statistic, vcov, conf_level, stars, coef_map, coef_omit, coef_rename, gof_map, and gof_omit from 'modelsummary' to clean the table, and additionally, add a row for the mean of the dependent variable without external manipulation.

panelsummary

Codecov testcoverage R-CMD-check CRANstatus

panelsummary creates publication-quality regression tables that have multiple panels. Paneled regression tables are particularly useful for showing output for models that are estimated with multiple dependent variables. A simple call to panelsummary::panelsummary will create a regression table that can be viewed in the RStudio Viewer panel, be edited with kableExtra’s suite of customization functions, and be output to latex.

As of now, panelsummary is intended for use with the fixest package, although more model classes are planned. Please use the panelsummary::models_supported function to view a list of all model classes that are currently supported.

Installation

You can install the development version of panelsummary from GitHub with:

# install.packages("devtools")
devtools::install_github("michaeltopper1/panelsummary")

What makes panelsummary different?

panelsummary can easily create beautiful paneled tables without any manual editing:

Edit with kableExtra

One of the strongest cases to use panelsummary is that it returns a kableExtra object. This means that you can easily customize your table using kableExtra’s suite of functions with the pipe operator (|>).

Use modelsummary arguments

Under the hood, panelsummary::panelsummary calls modelsummary::modelsummary and inherits many of the same arguments. Some examples of arguments that are shared:

  • stars - indicate significance.
  • coef_map - subset, rename, and reorder coefficients.
  • coef_omit - use regular expressions to determine which coefficients should be omitted from the table.
  • gof_map - rename, reorder, and omit goodness-of-fit statistics.

Learn more!

To learn more about panelsummary, get started with the introductory vignette.

Metadata

Version

0.1.2.1

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows