{
  "_id": "6ac62777f511ae58c09a6d01",
  "Package": "mlmoderator",
  "Type": "Package",
  "Title": "Probing, Plotting, and Interpreting Multilevel Interaction\nEffects",
  "Version": "0.3.0.9000",
  "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 workflow for probing, plotting, and checking\ncross-level interaction effects in two-level mixed-effects\nmodels fitted with 'lme4' (Bates et al., 2015)\n<doi:10.18637/jss.v067.i01>. Implements simple slopes analysis\nfollowing Aiken and West (1991, ISBN:9780761907121),\nJohnson-Neyman intervals following Johnson and Fay (1950)\n<doi:10.1007/BF02288864> and Bauer and Curran (2005)\n<doi:10.1207/s15327906mbr4003_5>, and grand- or group-mean\ncentering as described in Enders and Tofighi (2007)\n<doi:10.1037/1082-989X.12.2.121>. Tests and intervals use\nSatterthwaite degrees of freedom via 'lmerTest' (Kuznetsova et\nal., 2017) <doi:10.18637/jss.v082.i13> by default, with\nKenward-Roger and between-cluster alternatives. Also provides\nconfidence and new-cluster prediction intervals for simple\nslopes in random-slope models, contour plots of predicted\noutcomes over the predictor-by-moderator space, and\nleave-one-cluster-out influence diagnostics for the\ninteraction.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/subirhait/mlmoderator",
  "BugReports": "https://github.com/subirhait/mlmoderator/issues",
  "NeedsCompilation": "no",
  "Config/roxygen2/version": "8.0.0",
  "Author": "Subir Hait [aut, cre] (ORCID:\n<https://orcid.org/0009-0004-9871-9677>)",
  "Maintainer": "Subir Hait <haitsubi@msu.edu>",
  "Config/pak/sysreqs": "cmake make",
  "Repository": "https://subirhait.r-universe.dev",
  "Date/Publication": "2026-10-07 04:08:03 UTC",
  "RemoteUrl": "https://github.com/subirhait/mlmoderator",
  "RemoteRef": "HEAD",
  "RemoteSha": "1d5794a74de45b628880c96d33eb44e0c5b5e681",
  "Packaged": {
    "Date": "2026-10-07 09:14:04 UTC",
    "User": "root"
  },
  "_user": "subirhait",
  "_type": "src",
  "_file": "mlmoderator_0.3.0.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/3c18aac9e33f17b3716d2ffd35572931db80354040f308367556a6b5263ffce2",
  "_filesize": 958408,
  "_sha256": "3c18aac9e33f17b3716d2ffd35572931db80354040f308367556a6b5263ffce2",
  "_expires": "2027-01-15T11:05:26.000Z",
  "_created": "2026-10-07T09:14:04.000Z",
  "_published": "2026-10-07T11:05:27.853Z",
  "_buildurl": "https://github.com/r-universe/subirhait/actions/runs/37596590542",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 112719252540,
      "time": 151,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11471384737"
    },
    {
      "job": 112719252600,
      "time": 175,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11471354974"
    },
    {
      "job": 112719252635,
      "time": 228,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11478087722"
    },
    {
      "job": 112719252526,
      "time": 223,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11478331642"
    },
    {
      "job": 112714862916,
      "time": 196,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11471782970"
    },
    {
      "job": 112719252474,
      "time": 108,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11471594399"
    },
    {
      "job": 112719252548,
      "time": 87,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11471703158"
    },
    {
      "job": 112719252509,
      "time": 113,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11471833963"
    },
    {
      "job": 112719252612,
      "time": 157,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11472112582"
    }
  ],
  "_upstream": "https://github.com/subirhait/mlmoderator",
  "_commit": {
    "id": "1d5794a74de45b628880c96d33eb44e0c5b5e681",
    "author": "Subir Hait <264290991+subirhait@users.noreply.github.com>",
    "committer": "Subir Hait <264290991+subirhait@users.noreply.github.com>",
    "message": "Fix variance-decomposition plot subtitle; make test fixtures independent of the global environment (0.3.0.9000)\n",
    "time": 1791346083
  },
  "_maintainer": {
    "name": "Subir Hait",
    "email": "haitsubi@msu.edu",
    "login": "subirhait",
    "linkedin": "in/subirhait",
    "description": "PhD Candidate in Measurement & Quantitative Methods at Michigan State University | Causal inference, sensitivity analysis, and statistical software",
    "uuid": 264290991,
    "orcid": "0009-0004-9871-9677"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "lme4",
      "role": "Imports"
    },
    {
      "package": "lmerTest",
      "version": ">= 3.1-0",
      "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"
    },
    {
      "package": "pbkrtest",
      "role": "Suggests"
    },
    {
      "package": "emmeans",
      "role": "Suggests"
    },
    {
      "package": "mlmRev",
      "role": "Suggests"
    }
  ],
  "_owner": "subirhait",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-12",
      "n": 1
    },
    {
      "week": "2026-13",
      "n": 1
    },
    {
      "week": "2026-14",
      "n": 3
    },
    {
      "week": "2026-41",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v0.2.0",
      "date": "2026-03-19"
    },
    {
      "name": "v0.3.0",
      "date": "2026-10-07"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "subirhait",
      "count": 7,
      "uuid": 264290991
    }
  ],
  "_userbio": {
    "uuid": 264290991,
    "type": "user",
    "name": "Subir Hait",
    "followers": 4,
    "description": "PhD Candidate in Measurement & Quantitative Methods at Michigan State University | Causal inference, sensitivity analysis, and statistical software"
  },
  "_downloads": {
    "count": 370,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mlmoderator"
  },
  "_devurl": "https://github.com/subirhait/mlmoderator",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/mlmoderator.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/subirhait/mlmoderator",
  "_realowner": "subirhait",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2026-03-27"
    },
    {
      "version": "0.2.1",
      "date": "2026-04-04"
    },
    {
      "version": "0.3.0",
      "date": "2026-09-30"
    }
  ],
  "_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": "Leave-one-cluster-out influence diagnostics for a cross-level interaction",
      "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": "Confidence and prediction intervals for simple slopes in a random-slope model",
      "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 leave-one-cluster-out influence 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/subirhait/mlmoderator/raw/HEAD/README.md",
  "_rundeps": [
    "boot",
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "lmerTest",
    "MASS",
    "Matrix",
    "minqa",
    "nlme",
    "nloptr",
    "numDeriv",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "hsb-workflow.Rmd",
      "filename": "hsb-workflow.html",
      "title": "A complete workflow with real data: SES and school context in High School and Beyond",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Model",
        "Probing the interaction",
        "Plots",
        "How much do school slopes vary beyond the moderator?",
        "Is the interaction driven by a few schools?",
        "What this workflow does not do",
        "Reference"
      ],
      "created": "2026-10-07 04:08:02",
      "modified": "2026-10-07 04:08:02",
      "commits": 1
    },
    {
      "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.778151250383644,
  "_indexed": true,
  "_nocasepkg": "mlmoderator",
  "_universes": [
    "subirhait"
  ],
  "_previous": "0.2.1",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0.9000",
      "date": "2026-10-07T09:23:13.000Z",
      "distro": "resolute",
      "commit": "1d5794a74de45b628880c96d33eb44e0c5b5e681",
      "fileid": "https://r2.ropensci.org/7773442f8f427eb272201a9d1b88821b41f93d2631bcbb2dc66bf19d8cf2157e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/subirhait/actions/runs/37596590542"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.0.9000",
      "date": "2026-10-07T09:23:19.000Z",
      "distro": "resolute",
      "commit": "1d5794a74de45b628880c96d33eb44e0c5b5e681",
      "fileid": "https://r2.ropensci.org/472443a10671a06da922459331f29f5e315b7c5b05ccd8f76a317ef38d798c81",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/subirhait/actions/runs/37596590542"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0.9000",
      "date": "2026-10-07T11:03:41.000Z",
      "commit": "1d5794a74de45b628880c96d33eb44e0c5b5e681",
      "fileid": "https://r2.ropensci.org/1d1ef21829992320e476b3b63d7ab7d2fcc22feafdec338f1d9389e8d1bd0672",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/subirhait/actions/runs/37596590542"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.0.9000",
      "date": "2026-10-07T10:58:10.000Z",
      "commit": "1d5794a74de45b628880c96d33eb44e0c5b5e681",
      "fileid": "https://r2.ropensci.org/52c55db871c14c734e7ad043b56eb94a234d2e73d1b6f40cf7e2afe3840407ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/subirhait/actions/runs/37596590542"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.0.9000",
      "date": "2026-10-07T09:23:12.000Z",
      "commit": "1d5794a74de45b628880c96d33eb44e0c5b5e681",
      "fileid": "https://r2.ropensci.org/daaa1ab734236a3a65a82b982e2f0499296e34eb090eac59c51c097c846dacfa",
      "status": "success",
      "buildurl": "https://github.com/r-universe/subirhait/actions/runs/37596590542"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0.9000",
      "date": "2026-10-07T09:15:10.000Z",
      "commit": "1d5794a74de45b628880c96d33eb44e0c5b5e681",
      "fileid": "https://r2.ropensci.org/7b70dcfef5621cae0197679dbc427c960eee8dcb1d36c5a7359e1ead3f2fba46",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/subirhait/actions/runs/37596590542"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.0.9000",
      "date": "2026-10-07T09:15:36.000Z",
      "commit": "1d5794a74de45b628880c96d33eb44e0c5b5e681",
      "fileid": "https://r2.ropensci.org/7fed2e43bb249643d4a936b9ba318eae42053b22f85db068eb578d523c72d4bb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/subirhait/actions/runs/37596590542"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.0.9000",
      "date": "2026-10-07T09:16:01.000Z",
      "commit": "1d5794a74de45b628880c96d33eb44e0c5b5e681",
      "fileid": "https://r2.ropensci.org/f4ee285c8d503bb828f19cb29e71d01dd1f86001dfecfc38bba00f1b726d3352",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/subirhait/actions/runs/37596590542"
    }
  ]
}