{
  "_id": "6aaa5352ea78b3e62eacae98",
  "Package": "margins",
  "Type": "Package",
  "Title": "Marginal Effects for Model Objects",
  "Description": "An R port of Stata's 'margins' command, which can be used\nto calculate marginal (or partial) effects from model objects.",
  "License": "MIT + file LICENSE",
  "Version": "0.3.26",
  "Date": "2021-01-10",
  "Authors@R": "c(person(\"Thomas J.\", \"Leeper\",\nrole = c(\"aut\", \"cre\"),\nemail = \"thosjleeper@gmail.com\",\ncomment = c(ORCID = \"0000-0003-4097-6326\")),\nperson(\"Jeffrey\", \"Arnold\",\nrole = c(\"ctb\"),\nemail = \"jeffrey.arnold@gmail.com\"),\nperson(\"Vincent\", \"Arel-Bundock\",\nrole = c(\"ctb\")),\nperson(\"Jacob A.\", \"Long\",\nrole = c(\"ctb\"),\nemail = \"long.1377@osu.edu\",\ncomment = c(ORCID = \"0000-0002-1582-6214\"))\n)",
  "URL": "https://github.com/leeper/margins",
  "BugReports": "https://github.com/leeper/margins/issues",
  "ByteCompile": "true",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.1.0",
  "Repository": "https://blaserlab.r-universe.dev",
  "Date/Publication": "2021-01-21 22:54:28 UTC",
  "RemoteUrl": "https://github.com/leeper/margins",
  "RemoteRef": "HEAD",
  "RemoteSha": "bd374239f5da0a92e8e27d093785850933fdfa9e",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-16 08:11:02 UTC",
    "User": "root"
  },
  "Author": "Thomas J. Leeper [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-4097-6326>),\nJeffrey Arnold [ctb],\nVincent Arel-Bundock [ctb],\nJacob A. Long [ctb] (ORCID: <https://orcid.org/0000-0002-1582-6214>)",
  "Maintainer": "Thomas J. Leeper <thosjleeper@gmail.com>",
  "_user": "blaserlab",
  "_type": "src",
  "_file": "margins_0.3.26.tar.gz",
  "_fileid": "https://r2.ropensci.org/44deda3056828799ecc1943a393441d6a8f1554c5b9c5a2977fb3f8ab2634684",
  "_filesize": 2990830,
  "_sha256": "44deda3056828799ecc1943a393441d6a8f1554c5b9c5a2977fb3f8ab2634684",
  "_expires": "2026-12-25T08:29:04.000Z",
  "_created": "2026-09-16T08:11:02.000Z",
  "_published": "2026-09-16T08:29:06.297Z",
  "_jobs": [
    {
      "job": 104716809797,
      "time": 176,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "10436987059"
    },
    {
      "job": 104716809673,
      "time": 178,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "10436592229"
    },
    {
      "job": 104716809714,
      "time": 129,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "10437461589"
    },
    {
      "job": 104716809543,
      "time": 119,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "10437028905"
    },
    {
      "job": 104715615824,
      "time": 245,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10436339275"
    },
    {
      "job": 104716809464,
      "time": 134,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10436663161"
    },
    {
      "job": 104716809710,
      "time": 102,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "10436602100"
    },
    {
      "job": 104716809632,
      "time": 122,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "10436478762"
    },
    {
      "job": 104716809745,
      "time": 108,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "10436712715"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/blaserlab/actions/runs/35072029058",
  "_status": "success",
  "_upstream": "https://github.com/leeper/margins",
  "_commit": {
    "id": "bd374239f5da0a92e8e27d093785850933fdfa9e",
    "author": "Thomas J. Leeper <thosjleeper@gmail.com>",
    "committer": "Thomas J. Leeper <thosjleeper@gmail.com>",
    "message": "misc fixes for R CMD check\n",
    "time": 1611269668
  },
  "_maintainer": {
    "name": "Thomas J. Leeper",
    "email": "thosjleeper@gmail.com",
    "login": "leeper",
    "orcid": "0000-0003-4097-6326",
    "description": "Behavioral scientist and R hacker",
    "uuid": 3505428
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "prediction",
      "version": ">= 0.3.6",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "gapminder",
      "role": "Suggests"
    },
    {
      "package": "sandwich",
      "role": "Suggests"
    },
    {
      "package": "stargazer",
      "role": "Suggests"
    },
    {
      "package": "lme4",
      "role": "Suggests"
    },
    {
      "package": "AER",
      "role": "Enhances"
    },
    {
      "package": "betareg",
      "role": "Enhances"
    },
    {
      "package": "nnet",
      "role": "Enhances"
    },
    {
      "package": "ordinal",
      "role": "Enhances"
    },
    {
      "package": "survey",
      "role": "Enhances"
    }
  ],
  "_owner": "leeper",
  "_selfowned": false,
  "_usedby": 7,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "glm",
    "linear-models",
    "marginal-effects",
    "partial-effects",
    "regression",
    "stata-command"
  ],
  "_stars": 265,
  "_contributors": [
    {
      "user": "leeper",
      "count": 369,
      "uuid": 3505428
    },
    {
      "user": "jacob-long",
      "count": 2,
      "uuid": 4957401
    },
    {
      "user": "jonrobinson2",
      "count": 2,
      "uuid": 3081884
    },
    {
      "user": "hughparsonage",
      "count": 1,
      "uuid": 8111628
    },
    {
      "user": "jedstephens",
      "count": 1,
      "uuid": 26483444
    },
    {
      "user": "philip-khor",
      "count": 1,
      "uuid": 35039795
    },
    {
      "user": "treysp",
      "count": 1,
      "uuid": 1831878
    },
    {
      "user": "dnbarron",
      "count": 1,
      "uuid": 1565592
    }
  ],
  "_userbio": {
    "uuid": 62366303,
    "type": "user",
    "name": "Brad Blaser",
    "followers": 9,
    "description": "Experimental Hematologist and Fish Fancier"
  },
  "_downloads": {
    "count": 12061,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/margins"
  },
  "_mentions": 3,
  "_devurl": "https://github.com/leeper/margins",
  "_searchresults": 1304,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/margins.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/bbolker/margins",
  "_realowner": "bbolker",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.3.0",
      "date": "2017-03-22"
    },
    {
      "version": "0.3.20",
      "date": "2018-04-24"
    },
    {
      "version": "0.3.23",
      "date": "2018-05-22"
    },
    {
      "version": "0.3.26",
      "date": "2021-01-22"
    },
    {
      "version": "0.3.26.1",
      "date": "2024-03-24"
    },
    {
      "version": "0.3.27",
      "date": "2024-06-14"
    },
    {
      "version": "0.3.28",
      "date": "2024-07-31"
    }
  ],
  "_exports": [
    "cplot",
    "dydx",
    "find_data",
    "marginal_effects",
    "margins",
    "margins_summary",
    "prediction"
  ],
  "_help": [
    {
      "page": "cplot",
      "title": "Conditional predicted value and average marginal effect plots for models",
      "topics": [
        "cplot",
        "cplot.clm",
        "cplot.default",
        "cplot.glm",
        "cplot.lm",
        "cplot.loess",
        "cplot.multinom",
        "cplot.polr"
      ]
    },
    {
      "page": "dydx",
      "title": "Marginal Effect of a Given Variable",
      "topics": [
        "dydx",
        "dydx.default",
        "dydx.factor",
        "dydx.logical",
        "dydx.ordered"
      ]
    },
    {
      "page": "persp",
      "title": "Perspective and heatmap/contour plots for models",
      "topics": [
        "image.glm",
        "image.lm",
        "image.loess",
        "persp.glm",
        "persp.lm",
        "persp.loess"
      ]
    },
    {
      "page": "marginal_effects",
      "title": "Differentiate a Model Object with Respect to All (or Specified) Variables",
      "topics": [
        "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"
      ]
    },
    {
      "page": "margins",
      "title": "Marginal Effects Estimation",
      "topics": [
        "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"
      ]
    },
    {
      "page": "plot.margins",
      "title": "Plot Marginal Effects Estimates",
      "topics": [
        "plot.margins"
      ]
    }
  ],
  "_pkglogo": "https://github.com/leeper/margins/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/leeper/margins/raw/HEAD/README.md",
  "_rundeps": [
    "data.table",
    "MASS",
    "prediction"
  ],
  "_vignettes": [
    {
      "source": "Stata.Rmd",
      "filename": "Stata.html",
      "title": "Comparison with Stata's 'margins' command",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2017-03-22 09:06:59",
      "modified": "2017-03-23 13:27:23",
      "commits": 3
    },
    {
      "source": "Introduction.Rmd",
      "filename": "Introduction.html",
      "title": "An Introduction to 'margins'",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2016-08-05 13:55:31",
      "modified": "2021-01-21 22:54:28",
      "commits": 18
    },
    {
      "source": "TechnicalDetails.Rnw",
      "filename": "TechnicalDetails.pdf",
      "title": "Technical Implementation Details",
      "engine": "knitr",
      "headings": [],
      "created": "2014-12-19 14:37:22",
      "modified": "2021-01-10 12:18:46",
      "commits": 26
    }
  ],
  "_score": 11.440436631318514,
  "_indexed": false,
  "_nocasepkg": "margins",
  "_universes": [
    "blaserlab"
  ],
  "_indexurl": "https://bbolker.r-universe.dev/margins",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.26",
      "date": "2026-09-16T08:13:38.000Z",
      "distro": "resolute",
      "commit": "bd374239f5da0a92e8e27d093785850933fdfa9e",
      "fileid": "https://r2.ropensci.org/d7eda6306e8ca24bc4e1bfb095654c5a7592799e09b7915171d0e74c0f816490",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/blaserlab/actions/runs/35072029058"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.26",
      "date": "2026-09-16T08:13:39.000Z",
      "distro": "resolute",
      "commit": "bd374239f5da0a92e8e27d093785850933fdfa9e",
      "fileid": "https://r2.ropensci.org/2120c63bf7a5194b606e6c10950ed369fff8cc33ffce0c1e90504107de32e6a0",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/blaserlab/actions/runs/35072029058"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.26",
      "date": "2026-09-16T08:27:49.000Z",
      "commit": "bd374239f5da0a92e8e27d093785850933fdfa9e",
      "fileid": "https://r2.ropensci.org/d13bea18e134b09fee05e0f77c57c6b6954129ac7e810bff802d01bde70ee22a",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/blaserlab/actions/runs/35072029058"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.26",
      "date": "2026-09-16T08:25:24.000Z",
      "commit": "bd374239f5da0a92e8e27d093785850933fdfa9e",
      "fileid": "https://r2.ropensci.org/f0e6be80a0e4362cae1547f2fd4c8de4bcaa6d103b06f23ecc447476d05e0291",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/blaserlab/actions/runs/35072029058"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.26",
      "date": "2026-09-16T08:13:35.000Z",
      "commit": "bd374239f5da0a92e8e27d093785850933fdfa9e",
      "fileid": "https://r2.ropensci.org/5cb20f1a186dac85a4f253816a1b6e0b8c84fc7d829e52ef0bfb372e01c1c18b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/blaserlab/actions/runs/35072029058"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.26",
      "date": "2026-09-16T08:12:12.000Z",
      "commit": "bd374239f5da0a92e8e27d093785850933fdfa9e",
      "fileid": "https://r2.ropensci.org/77a5390dc2fccaa92d5c34b3e0c01b6abd018e065ee8647063ddc3be152f4eaf",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/blaserlab/actions/runs/35072029058"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.26",
      "date": "2026-09-16T08:12:31.000Z",
      "commit": "bd374239f5da0a92e8e27d093785850933fdfa9e",
      "fileid": "https://r2.ropensci.org/dcf31be0cdf5f484f7205566beb3aae7cf8e79b1829e96636b276fe615f5bbfe",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/blaserlab/actions/runs/35072029058"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.26",
      "date": "2026-09-16T08:12:20.000Z",
      "commit": "bd374239f5da0a92e8e27d093785850933fdfa9e",
      "fileid": "https://r2.ropensci.org/f3d9bcc97f404a018577e6b688f3508ac90d8ba75acb21c41784cab1b0603633",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/blaserlab/actions/runs/35072029058"
    }
  ]
}