{
  "_id": "6a0f6823acfb0bcc41c5d9f0",
  "Package": "mma",
  "Type": "Package",
  "Title": "Multiple Mediation Analysis",
  "Version": "10.8-1",
  "Date": "2025-04-30",
  "Authors@R": "c(person(given = \"Qingzhao\",\nfamily = \"Yu\",\nrole = c(\"aut\", \"cre\"),\nemail = \"qyu@lsuhsc.edu\"),\nperson(given = \"Bin\",\nfamily = \"Li\",\nrole = \"aut\"))",
  "Maintainer": "Qingzhao Yu <qyu@lsuhsc.edu>",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "Description": "Used for general multiple mediation analysis. The analysis\nmethod is described in Yu and Li (2022) (ISBN: 9780367365479)\n\"Statistical Methods for Mediation, Confounding and Moderation\nAnalysis Using R and SAS\", published by Chapman and Hall/CRC;\nand Yu et al.(2017) <DOI:10.1016/j.sste.2017.02.001> \"Exploring\nracial disparity in obesity: a mediation analysis considering\ngeo-coded environmental factors\", published on Spatial and\nSpatio-temporal Epidemiology, 21, 13-23.",
  "License": "GPL (>= 2)",
  "URL": "https://www.r-project.org,\nhttps://publichealth.lsuhsc.edu/Faculty_pages/qyu/index.html",
  "RoxygenNote": "7.3.2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-21 09:28:59 UTC",
    "User": "root"
  },
  "Author": "Qingzhao Yu [aut, cre], Bin Li [aut]",
  "Config/pak/sysreqs": "cmake make libicu-dev",
  "Repository": "https://qingzhaoyu.r-universe.dev",
  "Date/Publication": "2025-04-30 16:50:02 UTC",
  "RemoteUrl": "https://github.com/cran/mma",
  "RemoteRef": "HEAD",
  "RemoteSha": "0b03dc0e807a0022dc710bcaf0782207d45812ac",
  "MD5sum": "230268258ff2c7ccb5024aed1f6bef98",
  "_user": "qingzhaoyu",
  "_type": "src",
  "_file": "mma_10.8-1.tar.gz",
  "_fileid": "f486d7d014104b4d8c0df273726463df4b3667ec60f08a74fbcb4bd442482d36",
  "_filesize": 935886,
  "_sha256": "f486d7d014104b4d8c0df273726463df4b3667ec60f08a74fbcb4bd442482d36",
  "_created": "2026-05-21T09:28:59.000Z",
  "_published": "2026-05-21T20:16:35.140Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77260218364,
      "time": 184,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7132212708"
    },
    {
      "job": 77260218168,
      "time": 163,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7132205566"
    },
    {
      "job": 77260218846,
      "time": 220,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7132214591"
    },
    {
      "job": 77260218150,
      "time": 225,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7132210370"
    },
    {
      "job": 77260217589,
      "time": 232,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7132146326"
    },
    {
      "job": 77260217664,
      "time": 128,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7146212846"
    },
    {
      "job": 77260217788,
      "time": 154,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7132202777"
    },
    {
      "job": 77260218603,
      "time": 214,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7132223655"
    },
    {
      "job": 77260218099,
      "time": 138,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7132198109"
    }
  ],
  "_buildurl": "https://github.com/r-universe/qingzhaoyu/actions/runs/26217462502",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/mma",
  "_commit": {
    "id": "0b03dc0e807a0022dc710bcaf0782207d45812ac",
    "author": "Qingzhao Yu <qyu@lsuhsc.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 10.8-1\n",
    "time": 1746031802
  },
  "_maintainer": {
    "name": "Qingzhao Yu",
    "email": "qyu@lsuhsc.edu",
    "login": "qingzhaoyu",
    "description": "Professor of Biostatistics",
    "uuid": 14879978
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.14.1",
      "role": "Depends"
    },
    {
      "package": "gbm",
      "role": "Depends"
    },
    {
      "package": "splines",
      "role": "Depends"
    },
    {
      "package": "survival",
      "role": "Depends"
    },
    {
      "package": "car",
      "role": "Depends"
    },
    {
      "package": "gplots",
      "role": "Depends"
    },
    {
      "package": "lattice",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "qingzhaoyu",
      "count": 25,
      "uuid": 14879978
    }
  ],
  "_userbio": {
    "uuid": 14879978,
    "type": "user",
    "name": "Qingzhao Yu",
    "description": "Professor of Biostatistics"
  },
  "_downloads": {
    "count": 348,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mma"
  },
  "_mentions": 5,
  "_searchresults": 61,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/mma.html",
    "manual.pdf"
  ],
  "_realowner": "qingzhaoyu",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0-0",
      "date": "2015-02-26"
    },
    {
      "version": "1.0-1",
      "date": "2015-04-10"
    },
    {
      "version": "2.0-0",
      "date": "2015-04-24"
    },
    {
      "version": "2.0-1",
      "date": "2015-12-02"
    },
    {
      "version": "2.0-2",
      "date": "2016-01-20"
    },
    {
      "version": "2.0-3",
      "date": "2016-02-24"
    },
    {
      "version": "2.0-4",
      "date": "2016-03-17"
    },
    {
      "version": "3.0-0",
      "date": "2016-07-14"
    },
    {
      "version": "3.1-0",
      "date": "2016-08-08"
    },
    {
      "version": "4.0-0",
      "date": "2016-12-14"
    },
    {
      "version": "5.0-0",
      "date": "2017-03-29"
    },
    {
      "version": "5.0-1",
      "date": "2017-09-22"
    },
    {
      "version": "6.0-0",
      "date": "2018-01-16"
    },
    {
      "version": "6.1-0",
      "date": "2018-03-08"
    },
    {
      "version": "7.0-0",
      "date": "2018-11-20"
    },
    {
      "version": "8.0-0",
      "date": "2019-03-30"
    },
    {
      "version": "9.0-0",
      "date": "2019-08-27"
    },
    {
      "version": "10.0-0",
      "date": "2020-03-18"
    },
    {
      "version": "10.2-2",
      "date": "2020-03-23"
    },
    {
      "version": "10.3-2",
      "date": "2020-05-24"
    },
    {
      "version": "10.5-0",
      "date": "2020-12-11"
    },
    {
      "version": "10.5-1",
      "date": "2021-10-25"
    },
    {
      "version": "10.6-1",
      "date": "2022-05-16"
    },
    {
      "version": "10.7-1",
      "date": "2023-08-29"
    },
    {
      "version": "10.8-1",
      "date": "2025-04-30"
    }
  ],
  "_exports": [
    "boot.med",
    "boot.mod",
    "data.org",
    "form.interaction",
    "med",
    "mma",
    "moderate",
    "plot.med",
    "plot.mma",
    "plot2.mma",
    "print.med",
    "print.mma",
    "print.summary.med_iden",
    "print.summary.mma",
    "summary.med_iden",
    "summary.mma",
    "test.moderation"
  ],
  "_datasets": [
    {
      "name": "cgd1",
      "title": "cgd1 Data Set",
      "object": "cgd1",
      "file": "cgd1.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "center",
        "random",
        "treat",
        "sex",
        "age",
        "height",
        "weight",
        "inherit",
        "steroids",
        "propylac",
        "hos.cat",
        "futime",
        "etime1",
        "etime2",
        "etime3",
        "etime4",
        "etime5",
        "etime6",
        "etime7"
      ],
      "rows": 128,
      "table": true,
      "tojson": true
    },
    {
      "name": "weight_behavior",
      "title": "Weight_Behavior Data Set",
      "object": "weight_behavior",
      "file": "weight_behavior.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "bmi",
        "age",
        "sex",
        "race",
        "numpeople",
        "car",
        "gotosch",
        "snack",
        "tvhours",
        "cmpthours",
        "cellhours",
        "sports",
        "exercises",
        "sweat",
        "overweigh"
      ],
      "rows": 691,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "mma-package",
      "title": "Mediation Analysis Package",
      "topics": [
        "mma-package"
      ]
    },
    {
      "page": "boot.med",
      "title": "Statistical Inference on Mediation Analysis with Continuous or Binary Predictor",
      "topics": [
        "boot.med"
      ]
    },
    {
      "page": "boot.mod",
      "title": "Statistical Inference on Mediation Analysis with Continuous or Binary Predictor at different level of the moderator",
      "topics": [
        "boot.mod"
      ]
    },
    {
      "page": "cgd1",
      "title": "cgd1 Data Set",
      "topics": [
        "cgd1"
      ]
    },
    {
      "page": "data.org",
      "title": "Data Organization and Identify Potential Mediators",
      "topics": [
        "data.org"
      ]
    },
    {
      "page": "form.interaction",
      "title": "Create interaction terms of predictor(s) and potential moderator(s).",
      "topics": [
        "form.interaction"
      ]
    },
    {
      "page": "med",
      "title": "Mediation Analysis with Binary or Continuous Predictor",
      "topics": [
        "med"
      ]
    },
    {
      "page": "mma",
      "title": "Multiple Mediation Analysis",
      "topics": [
        "mma"
      ]
    },
    {
      "page": "moderate",
      "title": "Calculate and plot the direct effect of the selected exposure variable at each level of the moderator.",
      "topics": [
        "moderate"
      ]
    },
    {
      "page": "plot.med",
      "title": "Plot the mediation effect on the fitted med object",
      "topics": [
        "plot.med"
      ]
    },
    {
      "page": "plot.mma",
      "title": "Relative effects plot of the fitted mma object",
      "topics": [
        "plot.mma"
      ]
    },
    {
      "page": "plot2.mma",
      "title": "Relative effects plot of the fitted mma object with moderator",
      "topics": [
        "plot2.mma"
      ]
    },
    {
      "page": "print.med",
      "title": "Print an med object",
      "topics": [
        "print.med"
      ]
    },
    {
      "page": "print.mma",
      "title": "Print a mma object",
      "topics": [
        "print.mma"
      ]
    },
    {
      "page": "summary.med_iden",
      "title": "Summary method for class \"med_iden\".",
      "topics": [
        "print.summary.med_iden",
        "summary.med_iden"
      ]
    },
    {
      "page": "summary.mma",
      "title": "Summary of an mma project",
      "topics": [
        "print.summary.mma",
        "summary.mma"
      ]
    },
    {
      "page": "test.moderation",
      "title": "Test for moderation effects.",
      "topics": [
        "test.moderation"
      ]
    },
    {
      "page": "weight_behavior",
      "title": "Weight_Behavior Data Set",
      "topics": [
        "weight_behavior"
      ]
    }
  ],
  "_rundeps": [
    "abind",
    "backports",
    "bitops",
    "boot",
    "broom",
    "car",
    "carData",
    "caTools",
    "cli",
    "colorspace",
    "cowplot",
    "cpp11",
    "Deriv",
    "doBy",
    "dplyr",
    "farver",
    "forecast",
    "Formula",
    "fracdiff",
    "gbm",
    "generics",
    "ggplot2",
    "glue",
    "gplots",
    "gtable",
    "gtools",
    "isoband",
    "KernSmooth",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "lmtest",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "mgcv",
    "microbenchmark",
    "minqa",
    "modelr",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "pbkrtest",
    "pillar",
    "pkgconfig",
    "purrr",
    "quantreg",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "S7",
    "scales",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "MMAvignette.Rmd",
      "filename": "MMAvignette.html",
      "title": "Examples for Third-Variable Effect Analysis",
      "author": "Qingzhao Yu & Lin Zhu",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Package installation",
        "Data Organization and Identify Potential Mediators/Confounders",
        "One binary/continuous predictor and one binary/continuous outcome",
        "Survival outcome",
        "Multivariate predictors",
        "Multivariate outcomes",
        "Binary predictor and binary outcome",
        "Statistical Inference on TVE Analysis",
        "Plots of the fitted mma object from boot.med",
        "Combined function for multiple TVE analysis",
        "References"
      ],
      "created": "2019-08-27 17:30:02",
      "modified": "2022-05-16 05:50:05",
      "commits": 4
    }
  ],
  "_score": 3.961421094066448,
  "_indexed": true,
  "_nocasepkg": "mma",
  "_universes": [
    "qingzhaoyu"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "10.8-1",
      "date": "2026-05-21T09:31:29.000Z",
      "distro": "noble",
      "commit": "0b03dc0e807a0022dc710bcaf0782207d45812ac",
      "fileid": "a93dd57333060021a33f18d77d25c498e2a69114859aef97ded48c9f377ec746",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/qingzhaoyu/actions/runs/26217462502"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "10.8-1",
      "date": "2026-05-21T09:31:14.000Z",
      "distro": "noble",
      "commit": "0b03dc0e807a0022dc710bcaf0782207d45812ac",
      "fileid": "0ca6e1cda31283c9cb266dd6cc267c117b41e24adb4d23139d70119ace73ea43",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/qingzhaoyu/actions/runs/26217462502"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "10.8-1",
      "date": "2026-05-21T09:31:53.000Z",
      "commit": "0b03dc0e807a0022dc710bcaf0782207d45812ac",
      "fileid": "a832c942cd4d9639dca6b1d286700ca3bf19cd23cd265f577462f9db6b126606",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/qingzhaoyu/actions/runs/26217462502"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "10.8-1",
      "date": "2026-05-21T09:31:26.000Z",
      "commit": "0b03dc0e807a0022dc710bcaf0782207d45812ac",
      "fileid": "af3affd2e8c0fc72387c889df06c8bf8dace90e9eab7796f8d20875c3a308971",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/qingzhaoyu/actions/runs/26217462502"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "10.8-1",
      "date": "2026-05-21T20:16:12.000Z",
      "commit": "0b03dc0e807a0022dc710bcaf0782207d45812ac",
      "fileid": "5fdcc5641f46019b4f253ad59409b5be578f85db2f4988d3d68337fb53864198",
      "status": "success",
      "buildurl": "https://github.com/r-universe/qingzhaoyu/actions/runs/26217462502"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "10.8-1",
      "date": "2026-05-21T09:30:51.000Z",
      "commit": "0b03dc0e807a0022dc710bcaf0782207d45812ac",
      "fileid": "b80a0035072ac8aa097a53febfba51f355de346b2fea1893bc559fbb14ab4133",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/qingzhaoyu/actions/runs/26217462502"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "10.8-1",
      "date": "2026-05-21T09:31:47.000Z",
      "commit": "0b03dc0e807a0022dc710bcaf0782207d45812ac",
      "fileid": "6832aeef34a57c2b571d55026327c50eba3a8648fb9236d2e150dc4ba4a31b5d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/qingzhaoyu/actions/runs/26217462502"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "10.8-1",
      "date": "2026-05-21T09:30:30.000Z",
      "commit": "0b03dc0e807a0022dc710bcaf0782207d45812ac",
      "fileid": "260ac1d4e50fc8c0d81b6bcf29eae46ee32501e8a23fad4edc34bb5855501e1e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/qingzhaoyu/actions/runs/26217462502"
    }
  ]
}