{
  "_id": "6acf6f94e2d863f662952186",
  "Package": "maczic",
  "Version": "1.1.0",
  "Date": "2025-8-19",
  "Title": "Mediation Analysis for Count and Zero-Inflated Count Data",
  "Author": "Nancy Cheng [aut, cre], Zijian Guo [aut], Jing Cheng [aut]",
  "Authors@R": "c(person(given = \"Nancy\",\nfamily = \"Cheng\",\nrole = c(\"aut\", \"cre\"),\nemail = \"Nancy.Cheng@ucsf.edu\"),\nperson(given = \"Zijian\",\nfamily = \"Guo\",\nrole = \"aut\",\nemail = \"zijguo@stat.rutgers.edu\"),\nperson(given = \"Jing\",\nfamily = \"Cheng\",\nrole = \"aut\",\nemail = \"Jing.Cheng@ucsf.edu\"))",
  "Maintainer": "Nancy Cheng <Nancy.Cheng@ucsf.edu>",
  "RdMacros": "mathjaxr",
  "Description": "Performs causal mediation analysis for count and\nzero-inflated count data without or with a post-treatment\nconfounder; calculates power to detect prespecified causal\nmediation effects, direct effects, and total effects; performs\nsensitivity analysis when there is a treatment- induced\nmediator-outcome confounder as described by Cheng, J., Cheng,\nN.F., Guo, Z., Gregorich, S., Ismail, A.I., Gansky, S.A. (2018)\n<doi:10.1177/0962280216686131>. Implements Instrumental\nVariable (IV) method to estimate the controlled (natural)\ndirect and mediation effects, and compute the bootstrap\nConfidence Intervals as described by Guo, Z., Small, D.S.,\nGansky, S.A., Cheng, J. (2018) <doi:10.1111/rssc.12233>. This\nsoftware was made possible by Grant R03DE028410 from the\nNational Institute of Dental and Craniofacial Research, a\ncomponent of the National Institutes of Health.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-14 11:55:04 UTC",
    "User": "root"
  },
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev",
  "Repository": "https://nancyfcheng.r-universe.dev",
  "Date/Publication": "2025-08-19 20:00:02 UTC",
  "RemoteUrl": "https://github.com/cran/maczic",
  "RemoteRef": "HEAD",
  "RemoteSha": "748ba6ed635243a52d9640a4d9474ae2553aee16",
  "_user": "nancyfcheng",
  "_type": "src",
  "_file": "maczic_1.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/0d41f8cacf88345825aab3492c1aa55174fa88b2fc9128dce61fdbe6e01b83a8",
  "_filesize": 526026,
  "_sha256": "0d41f8cacf88345825aab3492c1aa55174fa88b2fc9128dce61fdbe6e01b83a8",
  "_expires": "2027-01-22T12:03:30.000Z",
  "_created": "2026-10-14T11:55:04.000Z",
  "_published": "2026-10-14T12:03:32.581Z",
  "_buildurl": "https://github.com/r-universe/nancyfcheng/actions/runs/38559470780",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115838516308,
      "time": 174,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11890959247"
    },
    {
      "job": 115838516362,
      "time": 235,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11890674806"
    },
    {
      "job": 115838516063,
      "time": 125,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11891444114"
    },
    {
      "job": 115838516186,
      "time": 140,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11890939976"
    },
    {
      "job": 115836880127,
      "time": 222,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11890728895"
    },
    {
      "job": 115838516176,
      "time": 118,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11891358439"
    },
    {
      "job": 115838516236,
      "time": 102,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11891793298"
    },
    {
      "job": 115838516170,
      "time": 133,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11892023099"
    },
    {
      "job": 115838516163,
      "time": 137,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11891973152"
    }
  ],
  "_upstream": "https://github.com/cran/maczic",
  "_commit": {
    "id": "748ba6ed635243a52d9640a4d9474ae2553aee16",
    "author": "Nancy Cheng <Nancy.Cheng@ucsf.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.1.0\n",
    "time": 1755633602
  },
  "_maintainer": {
    "name": "Nancy Cheng",
    "email": "nancy.cheng@ucsf.edu",
    "login": "nancyfcheng",
    "description": "",
    "uuid": 161794785
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0",
      "role": "Depends"
    },
    {
      "package": "MASS",
      "role": "Depends"
    },
    {
      "package": "pscl",
      "role": "Depends"
    },
    {
      "package": "graphics",
      "role": "Depends"
    },
    {
      "package": "sandwich",
      "role": "Imports"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "mediation",
      "role": "Imports"
    },
    {
      "package": "emplik",
      "role": "Imports"
    },
    {
      "package": "BB",
      "role": "Imports"
    },
    {
      "package": "mathjaxr",
      "role": "Imports"
    },
    {
      "package": "SuppDists",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "nancyfcheng",
      "count": 4,
      "uuid": 161794785
    }
  ],
  "_userbio": {
    "uuid": 161794785,
    "type": "user",
    "name": "nancyfcheng",
    "followers": 0
  },
  "_downloads": {
    "count": 297,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/maczic"
  },
  "_searchresults": 1,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/maczic.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt"
  ],
  "_realowner": "nancyfcheng",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2020-11-09"
    },
    {
      "version": "0.2.0",
      "date": "2021-04-23"
    },
    {
      "version": "1.0.0",
      "date": "2023-09-11"
    },
    {
      "version": "1.1.0",
      "date": "2025-08-19"
    }
  ],
  "_exports": [
    "maczic_power",
    "mediate_iv",
    "mediate_zi",
    "mediate_zi_vcoef",
    "plot_sensitivity"
  ],
  "_datasets": [
    {
      "name": "midvd_bt100",
      "title": "Example Data for mediate_zi_vcoef, plot_sensitivity and mediate_iv Functions",
      "object": "midvd_bt100",
      "class": [
        "data.frame"
      ],
      "fields": [
        "BrushTimes_W2",
        "HealthyMeals_W2",
        "PBrush_W2",
        "PDVisit_W2",
        "PDVisit_6",
        "PBrushBedt_6",
        "PBrush_6",
        "intervention",
        "Untreated_W3"
      ],
      "rows": 100,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "maczic",
      "title": "maczic: Mediation Analysis for Count and Zero-inflated Count Data.",
      "topics": [
        "maczic-package",
        "maczic"
      ]
    },
    {
      "page": "maczic_power",
      "title": "Power Calculation for Mediation Analysis with Count and Zero-Inflated Count Data",
      "topics": [
        "maczic_power"
      ]
    },
    {
      "page": "mediate_iv",
      "title": "Mediation Analysis for Count and Zero-Inflated Count Data Using Instrumental Variable Method",
      "topics": [
        "mediate_iv"
      ]
    },
    {
      "page": "mediate_zi",
      "title": "Mediation Analysis for Count and Zero-Inflated Count Data",
      "topics": [
        "mediate_zi"
      ]
    },
    {
      "page": "mediate_zi_vcoef",
      "title": "Mediation Sensitivity Analysis for Count and Zero-Inflated Count Data with a Post-Treatment Confounder",
      "topics": [
        "mediate_zi_vcoef"
      ]
    },
    {
      "page": "midvd_bt100",
      "title": "Example Data for mediate_zi_vcoef, plot_sensitivity and mediate_iv Functions",
      "topics": [
        "midvd_bt100"
      ]
    },
    {
      "page": "plot_sensitivity",
      "title": "Plot Sensitivity Graph",
      "topics": [
        "plot_sensitivity"
      ]
    }
  ],
  "_rundeps": [
    "backports",
    "base64enc",
    "BB",
    "boot",
    "bslib",
    "cachem",
    "checkmate",
    "cli",
    "cluster",
    "colorspace",
    "cpp11",
    "data.table",
    "digest",
    "emplik",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "foreign",
    "Formula",
    "fs",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "highr",
    "Hmisc",
    "htmlTable",
    "htmltools",
    "htmlwidgets",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "lpSolve",
    "magrittr",
    "MASS",
    "mathjaxr",
    "Matrix",
    "MatrixModels",
    "mediation",
    "memoise",
    "mime",
    "minqa",
    "mvtnorm",
    "nlme",
    "nloptr",
    "nnet",
    "pscl",
    "quadprog",
    "quantreg",
    "R6",
    "rappdirs",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "rmarkdown",
    "rpart",
    "rstudioapi",
    "S7",
    "sandwich",
    "sass",
    "scales",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "tinytex",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml",
    "zoo"
  ],
  "_score": 1,
  "_indexed": true,
  "_nocasepkg": "maczic",
  "_universes": [
    "nancyfcheng"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-10-14T11:57:17.000Z",
      "distro": "resolute",
      "commit": "748ba6ed635243a52d9640a4d9474ae2553aee16",
      "fileid": "https://r2.ropensci.org/3b3991ca63af4222dc334580fb955df7d4690575e6cff423049d451364fc921d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nancyfcheng/actions/runs/38559470780"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-10-14T11:58:11.000Z",
      "distro": "resolute",
      "commit": "748ba6ed635243a52d9640a4d9474ae2553aee16",
      "fileid": "https://r2.ropensci.org/238dbfabf5feae459ded22c360729cf373f4fee819031769d62d9137f5cd517f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nancyfcheng/actions/runs/38559470780"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-10-14T11:59:53.000Z",
      "commit": "748ba6ed635243a52d9640a4d9474ae2553aee16",
      "fileid": "https://r2.ropensci.org/2e7908f0f44c8ef2c9410080f97b7516acb83b5ec1fd55c349c1f978d81d3eb1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nancyfcheng/actions/runs/38559470780"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-10-14T12:02:04.000Z",
      "commit": "748ba6ed635243a52d9640a4d9474ae2553aee16",
      "fileid": "https://r2.ropensci.org/5295624daf4f96348f029c9b9ded76e22732b8060fca0c3817bec1f65023282d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nancyfcheng/actions/runs/38559470780"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0",
      "date": "2026-10-14T11:57:26.000Z",
      "commit": "748ba6ed635243a52d9640a4d9474ae2553aee16",
      "fileid": "https://r2.ropensci.org/28ccdb82aa064a45f4748b9972f2d4f615ffeafb2a6ed78b7ee78e896f2398db",
      "status": "success",
      "buildurl": "https://github.com/r-universe/nancyfcheng/actions/runs/38559470780"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-10-14T11:56:20.000Z",
      "commit": "748ba6ed635243a52d9640a4d9474ae2553aee16",
      "fileid": "https://r2.ropensci.org/bf49e449427e4975b52cc2473f2043f87a504e8fdfc8431d49c64a181c774806",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nancyfcheng/actions/runs/38559470780"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-10-14T11:56:28.000Z",
      "commit": "748ba6ed635243a52d9640a4d9474ae2553aee16",
      "fileid": "https://r2.ropensci.org/3c95104b2974f6e2cf7ab20de6b4045cd98ea2a884600fcbee136f7f7eb45c00",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nancyfcheng/actions/runs/38559470780"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-10-14T11:56:37.000Z",
      "commit": "748ba6ed635243a52d9640a4d9474ae2553aee16",
      "fileid": "https://r2.ropensci.org/9b0f86f099f0cfdee17f7610aa266335cac95738e04ca6bcfaf849cdb07fb0d1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nancyfcheng/actions/runs/38559470780"
    }
  ]
}