modmarg
Calculating Marginal Effects and Levels with Errors
v0.9.6
·
Nov 22, 2020
·
GPL-3
Description
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.
Downloads
239
Last 30 days
18043rd
653
Last 90 days
2.6K
Last year
Trend: +54.2% (30d vs prior 30d)
CRAN Check Status
13
OK
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check History
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR
r-devel-linux-x86_64-debian-gcc
examples
Running examples in ‘modmarg-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: marg.ivreg
> ### Title: Predicted Margins for 'ivreg' objects from the 'AER' package
> ### Aliases: marg.ivreg
>
> ### ** Examples
>
> # From ?AER::ivreg
>
> # data
> data("CigarettesSW", package = "AER")
Error in find.package(package, lib.loc, verbose = verbose) :
there is no package called ‘AER’
Calls: data -> find.package
Execution halted