{
  "_id": "6a1e9bf11d7bb097a0a6eb6d",
  "Package": "mlmoderator",
  "Type": "Package",
  "Title": "Probing, Plotting, and Interpreting Multilevel Interaction\nEffects",
  "Version": "0.2.1",
  "Authors@R": "person(\ngiven   = \"Subir\",\nfamily  = \"Hait\",\nrole    = c(\"aut\", \"cre\"),\nemail   = \"haitsubi@msu.edu\",\ncomment = c(ORCID = \"0009-0004-9871-9677\")\n)",
  "Description": "Provides a unified workflow for probing, plotting, and\nassessing the robustness of cross-level interaction effects in\ntwo-level mixed-effects models fitted with 'lme4' (Bates et\nal., 2015) <doi:10.18637/jss.v067.i01>. Implements simple\nslopes analysis following Aiken and West (1991,\nISBN:9780761907121), Johnson-Neyman intervals following Johnson\nand Fay (1950) <doi:10.1007/BF02288864> and Bauer and Curran\n(2005) <doi:10.1207/s15327906mbr4003_5>, and grand- or\ngroup-mean centering as described in Enders and Tofighi (2007)\n<doi:10.1037/1082-989X.12.2.121>. Includes a slope variance\ndecomposition that separates fixed-effect uncertainty from\nrandom-slope variance (tau11), a contour surface plot of\npredicted outcomes over the full predictor-by-moderator space,\nand robustness diagnostics comprising intraclass correlation\ncoefficient shift analysis and leave-one-cluster-out (LOCO)\nstability checks. Designed for researchers in education,\npsychology, biostatistics, epidemiology, organizational\nscience, and other fields where outcomes are clustered within\nhigher-level units.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/causalfragility-lab/mlmoderator",
  "BugReports": "https://github.com/causalfragility-lab/mlmoderator/issues",
  "Config/pak/sysreqs": "cmake make",
  "Repository": "https://causalfragility-lab.r-universe.dev",
  "Date/Publication": "2026-04-03 22:46:26 UTC",
  "RemoteUrl": "https://github.com/causalfragility-lab/mlmoderator",
  "RemoteRef": "HEAD",
  "RemoteSha": "d082a04529e0b078cc29fb635e8ce5f749b9a3a4",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-02 08:57:52 UTC",
    "User": "root"
  },
  "Author": "Subir Hait [aut, cre] (ORCID: <https://orcid.org/0009-0004-9871-9677>)",
  "Maintainer": "Subir Hait <haitsubi@msu.edu>",
  "MD5sum": "ba8d4c7092fb408c365ff200e4ac496e",
  "_user": "causalfragility-lab",
  "_type": "src",
  "_file": "mlmoderator_0.2.1.tar.gz",
  "_fileid": "4a23fb52be0fd439eacca7394c09d6f011452a2f9d8581b9791e5ab1b9565e87",
  "_filesize": 675831,
  "_sha256": "4a23fb52be0fd439eacca7394c09d6f011452a2f9d8581b9791e5ab1b9565e87",
  "_created": "2026-06-02T08:57:52.000Z",
  "_published": "2026-06-02T09:01:37.415Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79035362073,
      "time": 183,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7353380920"
    },
    {
      "job": 79035362056,
      "time": 180,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7353379617"
    },
    {
      "job": 79035362093,
      "time": 101,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7353349607"
    },
    {
      "job": 79035362107,
      "time": 102,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7353349945"
    },
    {
      "job": 79034659948,
      "time": 241,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7353313186"
    },
    {
      "job": 79035362049,
      "time": 123,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7353358155"
    },
    {
      "job": 79035362090,
      "time": 137,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7353363056"
    },
    {
      "job": 79035362516,
      "time": 137,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7353363918"
    },
    {
      "job": 79035362074,
      "time": 129,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7353360068"
    }
  ],
  "_buildurl": "https://github.com/r-universe/causalfragility-lab/actions/runs/26809252329",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/causalfragility-lab/mlmoderator",
  "_commit": {
    "id": "d082a04529e0b078cc29fb635e8ce5f749b9a3a4",
    "author": "Subir Hait <264290991+causalfragility-lab@users.noreply.github.com>",
    "committer": "Subir Hait <264290991+causalfragility-lab@users.noreply.github.com>",
    "message": "Update README citation to v0.2.1\n",
    "time": 1775256386
  },
  "_maintainer": {
    "name": "Subir Hait",
    "email": "haitsubi@msu.edu",
    "login": "causalfragility-lab",
    "description": "",
    "uuid": 264290991
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "lme4",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "patchwork",
      "role": "Suggests"
    }
  ],
  "_owner": "causalfragility-lab",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-12",
      "n": 1
    },
    {
      "week": "2026-13",
      "n": 1
    },
    {
      "week": "2026-14",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "v0.2.0",
      "date": "2026-03-19"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "causalfragility-lab",
      "count": 5,
      "uuid": 264290991
    }
  ],
  "_userbio": {
    "uuid": 264290991,
    "type": "user",
    "name": "causalfragility-lab"
  },
  "_downloads": {
    "count": 435,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mlmoderator"
  },
  "_devurl": "https://github.com/causalfragility-lab/mlmoderator",
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/mlmoderator.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/causalfragility-lab/mlmoderator",
  "_realowner": "causalfragility-lab",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2026-03-27"
    },
    {
      "version": "0.2.1",
      "date": "2026-04-04"
    }
  ],
  "_exports": [
    "mlm_center",
    "mlm_jn",
    "mlm_plot",
    "mlm_probe",
    "mlm_sensitivity",
    "mlm_summary",
    "mlm_surface",
    "mlm_variance_decomp"
  ],
  "_datasets": [
    {
      "name": "school_data",
      "title": "Simulated school achievement dataset",
      "object": "school_data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "school",
        "student",
        "math",
        "ses",
        "climate",
        "gender"
      ],
      "rows": 3000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "mlm_center",
      "title": "Center variables for multilevel modeling",
      "topics": [
        "mlm_center"
      ]
    },
    {
      "page": "mlm_jn",
      "title": "Johnson-Neyman interval for multilevel two-way interactions",
      "topics": [
        "mlm_jn"
      ]
    },
    {
      "page": "mlm_plot",
      "title": "Publication-ready interaction plot for multilevel models",
      "topics": [
        "mlm_plot"
      ]
    },
    {
      "page": "mlm_probe",
      "title": "Probe simple slopes from a multilevel interaction",
      "topics": [
        "mlm_probe"
      ]
    },
    {
      "page": "mlm_sensitivity",
      "title": "Robustness diagnostics for cross-level interaction effects",
      "topics": [
        "mlm_sensitivity"
      ]
    },
    {
      "page": "mlm_summary",
      "title": "Summary table for a multilevel moderation effect",
      "topics": [
        "mlm_summary"
      ]
    },
    {
      "page": "mlm_surface",
      "title": "Contour plot of predicted outcomes over the predictor x moderator space",
      "topics": [
        "mlm_surface"
      ]
    },
    {
      "page": "mlm_variance_decomp",
      "title": "Decompose uncertainty in the simple slope of a multilevel interaction",
      "topics": [
        "mlm_variance_decomp"
      ]
    },
    {
      "page": "plot.mlm_jn",
      "title": "Plot a Johnson-Neyman interval from a multilevel model",
      "topics": [
        "plot.mlm_jn"
      ]
    },
    {
      "page": "plot.mlm_sensitivity",
      "title": "Plot robustness diagnostics for a cross-level interaction",
      "topics": [
        "plot.mlm_sensitivity"
      ]
    },
    {
      "page": "plot.mlm_variance_decomp",
      "title": "Plot the variance decomposition of simple slopes",
      "topics": [
        "plot.mlm_variance_decomp"
      ]
    },
    {
      "page": "school_data",
      "title": "Simulated school achievement dataset",
      "topics": [
        "school_data"
      ]
    }
  ],
  "_readme": "https://github.com/causalfragility-lab/mlmoderator/raw/HEAD/README.md",
  "_rundeps": [
    "boot",
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "MASS",
    "Matrix",
    "minqa",
    "nlme",
    "nloptr",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "cross-level-interactions.Rmd",
      "filename": "cross-level-interactions.html",
      "title": "Cross-Level Interaction Workflow",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What is a cross-level interaction?",
        "Setup",
        "Centering strategy for cross-level interactions",
        "Fit the random-slopes model",
        "Probe simple slopes",
        "Johnson–Neyman region",
        "Visualise",
        "Full summary for reporting",
        "Reporting guidance",
        "Assumptions to check"
      ],
      "created": "2026-03-19 15:28:25",
      "modified": "2026-03-19 15:28:25",
      "commits": 1
    },
    {
      "source": "getting-started.Rmd",
      "filename": "getting-started.html",
      "title": "Getting Started with mlmoderator",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "The built-in dataset",
        "Step 1: Center variables",
        "Step 2: Fit the model",
        "Step 3: Probe simple slopes",
        "Step 4: Johnson–Neyman interval",
        "Step 5: Plot the interaction",
        "Step 6: Full summary report",
        "Tips"
      ],
      "created": "2026-03-19 15:28:25",
      "modified": "2026-03-19 15:28:25",
      "commits": 1
    }
  ],
  "_score": 4.477121254719663,
  "_indexed": true,
  "_nocasepkg": "mlmoderator",
  "_universes": [
    "causalfragility-lab"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-06-02T09:00:16.000Z",
      "distro": "noble",
      "commit": "d082a04529e0b078cc29fb635e8ce5f749b9a3a4",
      "fileid": "8e80401cc49af61f41746b83939079dc2c75a3878dcba5defe1ec445529cd2cc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/causalfragility-lab/actions/runs/26809252329"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-06-02T09:00:17.000Z",
      "distro": "noble",
      "commit": "d082a04529e0b078cc29fb635e8ce5f749b9a3a4",
      "fileid": "031daf84bcd81c82ba1c95c363ee013bc5593bd0fab304de46bd8919345d8277",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/causalfragility-lab/actions/runs/26809252329"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-06-02T08:59:21.000Z",
      "commit": "d082a04529e0b078cc29fb635e8ce5f749b9a3a4",
      "fileid": "ba30f660ee7892ff7553b5977ab1c1da552866232be4285a18126bf3598b4f74",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/causalfragility-lab/actions/runs/26809252329"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-06-02T08:59:17.000Z",
      "commit": "d082a04529e0b078cc29fb635e8ce5f749b9a3a4",
      "fileid": "01d0e827d9e6a96e6a46e9209549735619e7e814313199a560c4c595e9cce5c8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/causalfragility-lab/actions/runs/26809252329"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.1",
      "date": "2026-06-02T09:00:16.000Z",
      "commit": "d082a04529e0b078cc29fb635e8ce5f749b9a3a4",
      "fileid": "b48fdb528893726a2c32ee7ac76dfa40f632834e51f97cbb408f40b8b60d6c29",
      "status": "success",
      "buildurl": "https://github.com/r-universe/causalfragility-lab/actions/runs/26809252329"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-06-02T08:59:24.000Z",
      "commit": "d082a04529e0b078cc29fb635e8ce5f749b9a3a4",
      "fileid": "f7162b8f1f2ccd5eea6896572ba95394533b2768fbb7c52dabd6849cac50dcc3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/causalfragility-lab/actions/runs/26809252329"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-06-02T08:59:24.000Z",
      "commit": "d082a04529e0b078cc29fb635e8ce5f749b9a3a4",
      "fileid": "4dbd4e640cc6ed815dad59e289657ce5bea0e79dac4abdc612efa8c12822e15c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/causalfragility-lab/actions/runs/26809252329"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-06-02T08:59:15.000Z",
      "commit": "d082a04529e0b078cc29fb635e8ce5f749b9a3a4",
      "fileid": "948670c988f61c1419ea0fe361450c4b0e76af2ec6707b12baa7bf8f75a955ba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/causalfragility-lab/actions/runs/26809252329"
    }
  ]
}