Package: margins 0.3.26
margins: Marginal Effects for Model Objects
An R port of Stata's 'margins' command, which can be used to calculate marginal (or partial) effects from model objects.
Authors:
margins_0.3.26.tar.gz
margins_0.3.26.zip(r-4.5)margins_0.3.26.zip(r-4.4)margins_0.3.26.zip(r-4.3)
margins_0.3.26.tgz(r-4.4-any)margins_0.3.26.tgz(r-4.3-any)
margins_0.3.26.tar.gz(r-4.5-noble)margins_0.3.26.tar.gz(r-4.4-noble)
margins_0.3.26.tgz(r-4.4-emscripten)margins_0.3.26.tgz(r-4.3-emscripten)
margins.pdf |margins.html✨
margins/json (API)
NEWS
# Install 'margins' in R: |
install.packages('margins', repos = c('https://blaserlab.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/leeper/margins/issues
glmlinear-modelsmarginal-effectspartial-effectsregressionstata-command
Last updated 4 years agofrom:bd374239f5. Checks:OK: 3 WARNING: 2 NOTE: 2. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 02 2024 |
R-4.5-win | WARNING | Nov 02 2024 |
R-4.5-linux | WARNING | Nov 02 2024 |
R-4.4-win | NOTE | Nov 02 2024 |
R-4.4-mac | NOTE | Nov 02 2024 |
R-4.3-win | OK | Nov 02 2024 |
R-4.3-mac | OK | Nov 02 2024 |
Exports:cplotdydxfind_datamarginal_effectsmarginsmargins_summaryprediction
Dependencies:data.tableMASSprediction
Comparison with Stata's 'margins' command
Rendered fromStata.Rmd
usingknitr::rmarkdown
on Nov 02 2024.Last update: 2017-03-23
Started: 2017-03-22
An Introduction to 'margins'
Rendered fromIntroduction.Rmd
usingknitr::rmarkdown
on Nov 02 2024.Last update: 2021-01-21
Started: 2016-08-05
Technical Implementation Details
Rendered fromTechnicalDetails.Rnw
usingknitr
on Nov 02 2024.Last update: 2021-01-10
Started: 2014-12-19
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Conditional predicted value and average marginal effect plots for models | cplot cplot.clm cplot.default cplot.glm cplot.lm cplot.loess cplot.multinom cplot.polr |
Marginal Effect of a Given Variable | dydx dydx.default dydx.factor dydx.logical dydx.ordered |
Perspective and heatmap/contour plots for models | image.glm image.lm image.loess persp.glm persp.lm persp.loess |
Differentiate a Model Object with Respect to All (or Specified) Variables | marginal_effects marginal_effects.clm marginal_effects.default marginal_effects.glm marginal_effects.lm marginal_effects.lmerMod marginal_effects.loess marginal_effects.margins marginal_effects.merMod marginal_effects.multinom marginal_effects.nnet marginal_effects.polr |
Marginal Effects Estimation | margins-package margins margins.betareg margins.clm margins.default margins.glm margins.lm margins.lmerMod margins.loess margins.merMod margins.multinom margins.nnet margins.polr margins.svyglm margins_summary |
Plot Marginal Effects Estimates | plot.margins |