Package: margins 0.3.28
margins: Marginal Effects for Model Objects
An R port of the margins command from 'Stata', which can be used to calculate marginal (or partial) effects from model objects.
Authors:
margins_0.3.28.tar.gz
margins_0.3.28.zip(r-4.5)margins_0.3.28.zip(r-4.4)margins_0.3.28.zip(r-4.3)
margins_0.3.28.tgz(r-4.4-any)margins_0.3.28.tgz(r-4.3-any)
margins_0.3.28.tar.gz(r-4.5-noble)margins_0.3.28.tar.gz(r-4.4-noble)
margins_0.3.28.tgz(r-4.4-emscripten)margins_0.3.28.tgz(r-4.3-emscripten)
margins.pdf |margins.html✨
margins/json (API)
NEWS
# Install 'margins' in R: |
install.packages('margins', repos = c('https://bbolker.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/bbolker/margins/issues
Last updated 4 months agofrom:9b649c95ba. Checks:OK: 6 ERROR: 1. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 29 2024 |
R-4.5-win | ERROR | Oct 29 2024 |
R-4.5-linux | OK | Oct 29 2024 |
R-4.4-win | OK | Oct 29 2024 |
R-4.4-mac | OK | Oct 29 2024 |
R-4.3-win | OK | Oct 29 2024 |
R-4.3-mac | OK | Oct 29 2024 |
Exports:cplotdydxfind_datamarginal_effectsmarginsmargins_summaryprediction
Dependencies:data.tableMASSprediction
Comparison with Stata's 'margins' command
Rendered fromStata.Rmd
usingknitr::rmarkdown
on Oct 29 2024.Last update: 2017-03-23
Started: 2017-03-22
An Introduction to 'margins'
Rendered fromIntroduction.Rmd
usingknitr::rmarkdown
on Oct 29 2024.Last update: 2021-01-21
Started: 2016-08-05
Technical Implementation Details
Rendered fromTechnicalDetails.Rnw
usingknitr::knitr
on Oct 29 2024.Last update: 2024-04-27
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 |