README.md

QuickCoefPlot

Sondre U. Solstad

Easy Coefficient Plots with options in R

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")

Example:

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)

Arguments:

Citation:

Solstad, Sondre Ulvund (2018). QuickCoefPlot: Quick and Easy Coefficient Plots in R. https://github.com/sondreus/QuickCoefPlot#quickcoefplot



sondreus/QuickCoefPlot documentation built on May 28, 2020, 12:30 p.m.