Sondre U. Solstad
QuickCoefPlot is an easy interface for linear and glm coefficient plots in R. This includes the option to request robust, clustered, and bootstrapped standard errors, automatic labeling, and easy selection of coefficients to plot.
Written by Sondre U. Solstad, Princeton University (ssolstad@princeton.edu). Send me an email if you find this package useful or want to suggest an improvement or feature.
Installation instructions:
library(devtools)
install_github("sondreus/QuickCoefPlot")
library(QuickCoefPlot)
# Loading data
mydata <- readRDS("3d_example.RDS")
# Use the QuickCoefPlot to produce a regression table
model <- lm(log_gdppc_mad ~ polity2 + tropical + desert + soil + near_coast + year, data = mydata)
QuickCoefPlot(model)
QuickCoefPlot(model, robust.se = FALSE)
QuickCoefPlot(model, boot.se = TRUE)
QuickCoefPlot(model, boot.se = TRUE, boot.b = 100, boot.plot.est = TRUE, legend.on = TRUE)
Solstad, Sondre Ulvund (2018). QuickCoefPlot: Quick and Easy Coefficient Plots in R. https://github.com/sondreus/QuickCoefPlot#quickcoefplot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.