capybara: Fast and Memory Efficient Fitting of Linear Models with High-Dimensional Fixed Effects

Fast and user-friendly estimation of generalized linear models with multiple fixed effects and cluster the standard errors. The method to obtain the estimated fixed-effects coefficients is based on Stammann (2018) <doi:10.48550/arXiv.1707.01815>, Gaure (2013) <doi:10.1016/j.csda.2013.03.024>, Berge (2018) <https://ideas.repec.org/p/luc/wpaper/18-13.html>, and Correia et al. (2020) <doi: 10.1177/1536867X20909691>. This implementation is described in Vargas Sepulveda (2025) <doi:10.1371/journal.pone.0331178>.

Package details

AuthorMauricio Vargas Sepulveda [aut, cre] (ORCID: <https://orcid.org/0000-0003-1017-7574>), Joao Santos Silva [ths], Julian Costas Fernandez [ctb], Yoto Yotov [ctb]
MaintainerMauricio Vargas Sepulveda <m.vargas.sepulveda@gmail.com>
LicenseApache License (>= 2)
Version2.1.0
URL https://pacha.dev/capybara/ https://github.com/pachadotdev/capybara
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("capybara")

Try the capybara package in your browser

Any scripts or data that you put into this service are public.

capybara documentation built on June 29, 2026, 5:07 p.m.