Calculating Marginal Effects and Levels with Errors
Predicted Margins for glm objects
glm
Predicted Margins for ivreg objects from the AER package
ivreg
AER
Estimating predictive margins on a model
Main wrapper function to calculate margins and standard errors
Calculate predicted levels and marginal effects, using the delta method to calculate standard errors. This is an R-based version of the 'margins' command from Stata.
Useful links