{
  "_id": "6acf8e2ce2d863f66295273b",
  "Package": "modsem",
  "Type": "Package",
  "Title": "Latent Interaction (and Moderation) Analysis in Structural\nEquation Models (SEM)",
  "Version": "1.0.24",
  "Authors@R": "c(person(given = \"Kjell\", family = \"Solem Slupphaug\",\nemail = \"slupphaugkjell@gmail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0009-0005-8324-2834\")),\nperson(given = \"Mehmet\", family=\"Mehmetoglu\",\nemail = \"mehmetm@ntnu.no\", role=c(\"ctb\"),\ncomment = c(ORCID=\"0000-0002-6092-8551\")),\nperson(given = \"Matthias\", family=\"Mittner\",\nemail = \"matthias.mittner@uit.no\", role=c(\"ctb\"),\ncomment = c(ORCID=\"0000-0003-0205-7353\")))",
  "Maintainer": "Kjell Solem Slupphaug <slupphaugkjell@gmail.com>",
  "Description": "Estimation of interaction (i.e., moderation) effects\nbetween latent variables in structural equation models (SEM).\nThe supported methods are: The constrained approach (Algina &\nMoulder, 2001). The unconstrained approach (Marsh et al.,\n2004). The residual centering approach (Little et al., 2006).\nThe double centering approach (Lin et al., 2010). The latent\nmoderated structural equations (LMS) approach (Klein &\nMoosbrugger, 2000). The quasi-maximum likelihood (QML) approach\n(Klein & Muthén, 2007) The constrained- unconstrained,\nresidual- and double centering- approaches are estimated via\n'lavaan' (Rosseel, 2012), whilst the LMS- and QML- approaches\nare estimated via 'modsem' it self. Alternatively model can be\nestimated via 'Mplus' (Muthén & Muthén, 1998-2017). References:\nAlgina, J., & Moulder, B. C. (2001).\n<doi:10.1207/S15328007SEM0801_3>. \"A note on estimating the\nJöreskog-Yang model for latent variable interaction using\n'LISREL' 8.3.\" Klein, A., & Moosbrugger, H. (2000).\n<doi:10.1007/BF02296338>. \"Maximum likelihood estimation of\nlatent interaction effects with the LMS method.\" Klein, A. G.,\n& Muthén, B. O. (2007). <doi:10.1080/00273170701710205>.\n\"Quasi-maximum likelihood estimation of structural equation\nmodels with multiple interaction and quadratic effects.\" Lin,\nG. C., Wen, Z., Marsh, H. W., & Lin, H. S. (2010).\n<doi:10.1080/10705511.2010.488999>. \"Structural equation models\nof latent interactions: Clarification of orthogonalizing and\ndouble-mean-centering strategies.\" Little, T. D., Bovaird, J.\nA., & Widaman, K. F. (2006). <doi:10.1207/s15328007sem1304_1>.\n\"On the merits of orthogonalizing powered and product terms:\nImplications for modeling interactions among latent variables.\"\nMarsh, H. W., Wen, Z., & Hau, K. T. (2004).\n<doi:10.1037/1082-989X.9.3.275>. \"Structural equation models of\nlatent interactions: evaluation of alternative estimation\nstrategies and indicator construction.\" Muthén, L.K. and\nMuthén, B.O. (1998-2017). \"'Mplus' User’s Guide. Eighth\nEdition.\" <https://www.statmodel.com/>. Rosseel Y (2012).\n<doi:10.18637/jss.v048.i02>. \"'lavaan': An R Package for\nStructural Equation Modeling.\"",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "URL": "https://modsem.org, https://github.com/kss2k/modsem",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.1.0",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev libssl-dev",
  "Repository": "https://kss2k.r-universe.dev",
  "Date/Publication": "2026-10-14 12:42:39 UTC",
  "RemoteUrl": "https://github.com/kss2k/modsem",
  "RemoteRef": "HEAD",
  "RemoteSha": "f9fdedf14ebb8c3c089a7b4aa72b068edba81b20",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-14 14:01:19 UTC",
    "User": "root"
  },
  "Author": "Kjell Solem Slupphaug [aut, cre] (ORCID:\n<https://orcid.org/0009-0005-8324-2834>),\nMehmet Mehmetoglu [ctb] (ORCID:\n<https://orcid.org/0000-0002-6092-8551>),\nMatthias Mittner [ctb] (ORCID: <https://orcid.org/0000-0003-0205-7353>)",
  "_user": "kss2k",
  "_type": "src",
  "_file": "modsem_1.0.24.tar.gz",
  "_fileid": "https://r2.ropensci.org/8c24336a253d41ae0314d8642033a6dbcd204047ab7863fb343c6c566ee9c9b5",
  "_filesize": 2769586,
  "_sha256": "8c24336a253d41ae0314d8642033a6dbcd204047ab7863fb343c6c566ee9c9b5",
  "_expires": "2027-01-22T14:14:02.000Z",
  "_created": "2026-10-14T14:01:19.000Z",
  "_published": "2026-10-14T14:14:04.219Z",
  "_buildurl": "https://github.com/r-universe/kss2k/actions/runs/38575879075",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115896780627,
      "time": 242,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11900717467"
    },
    {
      "job": 115896781053,
      "time": 278,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11902345934"
    },
    {
      "job": 115896780690,
      "time": 224,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11902430743"
    },
    {
      "job": 115896780719,
      "time": 244,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11900492570"
    },
    {
      "job": 115896781007,
      "time": 220,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11902436685"
    },
    {
      "job": 115896780475,
      "time": 522,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11902681484"
    },
    {
      "job": 115896780644,
      "time": 199,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11902391447"
    },
    {
      "job": 115896780981,
      "time": 579,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11902332070"
    },
    {
      "job": 115892882514,
      "time": 453,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11902115188"
    },
    {
      "job": 115896780842,
      "time": 182,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11902125727"
    },
    {
      "job": 115896780748,
      "time": 395,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11902311295"
    },
    {
      "job": 115896780794,
      "time": 323,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11902511024"
    },
    {
      "job": 115896780653,
      "time": 275,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11900902101"
    },
    {
      "job": 115896780753,
      "time": 361,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11900822782"
    },
    {
      "job": 115896780737,
      "time": 216,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11900682373"
    }
  ],
  "_upstream": "https://github.com/kss2k/modsem",
  "_commit": {
    "id": "f9fdedf14ebb8c3c089a7b4aa72b068edba81b20",
    "author": "kss2k <slupphaugkjell@gmail.com>",
    "committer": "kss2k <slupphaugkjell@gmail.com>",
    "message": "Better handling of quadratic effects in plot_jn() and variance calculations\n",
    "time": 1791981759
  },
  "_maintainer": {
    "name": "Kjell Solem Slupphaug",
    "email": "slupphaugkjell@gmail.com",
    "login": "kss2k",
    "orcid": "0009-0005-8324-2834",
    "description": "M.A. in Psychology from NTNU Trondheim. \n\n\"Wayland is more bleeding edge, breaks more often — just how I like it\" — Richie Guix",
    "uuid": 113430607
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "lavaan",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "nlme",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "mvnfast",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "fastGHQuad",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "plotly",
      "role": "Imports"
    },
    {
      "package": "Deriv",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "Amelia",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "RhpcBLASctl",
      "role": "Imports"
    },
    {
      "package": "memoise",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "ggpubr",
      "role": "Suggests"
    },
    {
      "package": "RColorBrewer",
      "role": "Suggests"
    },
    {
      "package": "MplusAutomation",
      "role": "Suggests"
    }
  ],
  "_owner": "kss2k",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-42",
      "n": 1
    },
    {
      "week": "2025-43",
      "n": 3
    },
    {
      "week": "2025-44",
      "n": 4
    },
    {
      "week": "2025-45",
      "n": 5
    },
    {
      "week": "2025-47",
      "n": 8
    },
    {
      "week": "2025-48",
      "n": 1
    },
    {
      "week": "2025-49",
      "n": 1
    },
    {
      "week": "2025-51",
      "n": 1
    },
    {
      "week": "2026-02",
      "n": 3
    },
    {
      "week": "2026-03",
      "n": 3
    },
    {
      "week": "2026-04",
      "n": 2
    },
    {
      "week": "2026-05",
      "n": 1
    },
    {
      "week": "2026-06",
      "n": 1
    },
    {
      "week": "2026-08",
      "n": 2
    },
    {
      "week": "2026-09",
      "n": 4
    },
    {
      "week": "2026-10",
      "n": 1
    },
    {
      "week": "2026-11",
      "n": 3
    },
    {
      "week": "2026-12",
      "n": 2
    },
    {
      "week": "2026-16",
      "n": 3
    },
    {
      "week": "2026-17",
      "n": 1
    },
    {
      "week": "2026-18",
      "n": 3
    },
    {
      "week": "2026-19",
      "n": 1
    },
    {
      "week": "2026-20",
      "n": 5
    },
    {
      "week": "2026-21",
      "n": 15
    },
    {
      "week": "2026-22",
      "n": 11
    },
    {
      "week": "2026-23",
      "n": 1
    },
    {
      "week": "2026-24",
      "n": 8
    },
    {
      "week": "2026-25",
      "n": 1
    },
    {
      "week": "2026-26",
      "n": 2
    },
    {
      "week": "2026-27",
      "n": 1
    },
    {
      "week": "2026-28",
      "n": 2
    },
    {
      "week": "2026-29",
      "n": 1
    },
    {
      "week": "2026-32",
      "n": 2
    },
    {
      "week": "2026-33",
      "n": 7
    },
    {
      "week": "2026-34",
      "n": 1
    },
    {
      "week": "2026-35",
      "n": 1
    },
    {
      "week": "2026-37",
      "n": 1
    },
    {
      "week": "2026-39",
      "n": 2
    },
    {
      "week": "2026-40",
      "n": 2
    },
    {
      "week": "2026-42",
      "n": 9
    }
  ],
  "_tags": [
    {
      "name": "v1.0.14",
      "date": "2025-11-18"
    },
    {
      "name": "v1.0.15",
      "date": "2025-12-15"
    },
    {
      "name": "v1.0.16",
      "date": "2026-01-23"
    },
    {
      "name": "v1.0.17",
      "date": "2026-02-24"
    },
    {
      "name": "v1.0.18",
      "date": "2026-03-17"
    },
    {
      "name": "v.1.0.19",
      "date": "2026-04-28"
    },
    {
      "name": "v1.0.20",
      "date": "2026-05-31"
    },
    {
      "name": "v1.0.21",
      "date": "2026-07-01"
    },
    {
      "name": "v1.0.22",
      "date": "2026-08-20"
    },
    {
      "name": "v1.0.23",
      "date": "2026-09-30"
    }
  ],
  "_topics": [
    "interaction-effect",
    "interaction-effects",
    "latent-moderated-structural-equations",
    "lavaan-syntax",
    "lms",
    "moderation",
    "qml",
    "quasi-maximum-likelihood",
    "rlang",
    "rlanguage",
    "sem",
    "structural-equation-modeling",
    "structural-equation-models",
    "openblas",
    "cpp",
    "openmp"
  ],
  "_stars": 9,
  "_contributors": [
    {
      "user": "kss2k",
      "count": 1269,
      "uuid": 113430607
    },
    {
      "user": "pph2p",
      "count": 9,
      "uuid": 186175750
    },
    {
      "user": "felipelfv",
      "count": 3,
      "uuid": 95751210
    },
    {
      "user": "ihrke",
      "count": 2,
      "uuid": 1140241
    },
    {
      "user": "mmoglu",
      "count": 1,
      "uuid": 24352766
    },
    {
      "user": "michaelchirico",
      "count": 1,
      "uuid": 7606389
    }
  ],
  "_userbio": {
    "uuid": 113430607,
    "type": "user",
    "name": "Kjell S Slupphaug",
    "followers": 8,
    "description": "M.A. in Psychology from NTNU Trondheim. \r\n\r\n\"Wayland is more bleeding edge, breaks more often — just how I like it\" — Richie Guix"
  },
  "_downloads": {
    "count": 1892,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/modsem"
  },
  "_devurl": "https://github.com/kss2k/modsem",
  "_pkgdown": "https://modsem.org",
  "_searchresults": 177,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/modsem.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/kss2k/modsem",
  "_realowner": "kss2k",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2024-03-23"
    },
    {
      "version": "0.1.1",
      "date": "2024-04-15"
    },
    {
      "version": "0.1.2",
      "date": "2024-04-17"
    },
    {
      "version": "0.1.3",
      "date": "2024-05-27"
    },
    {
      "version": "0.1.4",
      "date": "2024-06-02"
    },
    {
      "version": "1.0.1",
      "date": "2024-07-07"
    },
    {
      "version": "1.0.2",
      "date": "2024-08-17"
    },
    {
      "version": "1.0.3",
      "date": "2024-09-23"
    },
    {
      "version": "1.0.4",
      "date": "2024-11-15"
    },
    {
      "version": "1.0.5",
      "date": "2024-12-16"
    },
    {
      "version": "1.0.6",
      "date": "2025-01-20"
    },
    {
      "version": "1.0.7",
      "date": "2025-03-27"
    },
    {
      "version": "1.0.8",
      "date": "2025-04-30"
    },
    {
      "version": "1.0.9",
      "date": "2025-06-11"
    },
    {
      "version": "1.0.10",
      "date": "2025-06-13"
    },
    {
      "version": "1.0.11",
      "date": "2025-07-22"
    },
    {
      "version": "1.0.12",
      "date": "2025-08-27"
    },
    {
      "version": "1.0.13",
      "date": "2025-10-07"
    },
    {
      "version": "1.0.14",
      "date": "2025-11-18"
    },
    {
      "version": "1.0.15",
      "date": "2025-12-22"
    },
    {
      "version": "1.0.16",
      "date": "2026-01-23"
    },
    {
      "version": "1.0.17",
      "date": "2026-02-24"
    },
    {
      "version": "1.0.18",
      "date": "2026-03-28"
    },
    {
      "version": "1.0.19",
      "date": "2026-04-30"
    },
    {
      "version": "1.0.20",
      "date": "2026-06-01"
    },
    {
      "version": "1.0.21",
      "date": "2026-07-03"
    },
    {
      "version": "1.0.22",
      "date": "2026-08-21"
    },
    {
      "version": "1.0.23",
      "date": "2026-10-01"
    }
  ],
  "_exports": [
    "bootstrap_modsem",
    "centered_estimates",
    "colorize_output",
    "compare_fit",
    "default_settings_da",
    "default_settings_pi",
    "estimate_h0",
    "extract_lavaan",
    "fit_modsem_da",
    "get_pi_data",
    "get_pi_syntax",
    "is_interaction_model",
    "modsem",
    "modsem_coef",
    "modsem_da",
    "modsem_inspect",
    "modsem_mimpute",
    "modsem_mplus",
    "modsem_nobs",
    "modsem_pi",
    "modsem_predict",
    "modsem_vcov",
    "modsemify",
    "parameter_estimates",
    "plot_interaction",
    "plot_jn",
    "plot_surface",
    "relcorr_single_item",
    "set_modsem_colors",
    "simple_slopes",
    "standardize_model",
    "standardized_estimates",
    "summarize_partable",
    "trace_path",
    "twostep",
    "var_interactions"
  ],
  "_datasets": [
    {
      "name": "jordan",
      "title": "Jordan subset of PISA 2006 data",
      "object": "jordan",
      "class": [
        "data.frame"
      ],
      "fields": [
        "enjoy1",
        "enjoy2",
        "enjoy3",
        "enjoy4",
        "enjoy5",
        "academic1",
        "academic2",
        "academic3",
        "academic4",
        "academic5",
        "academic6",
        "career1",
        "career2",
        "career3",
        "career4"
      ],
      "rows": 6038,
      "table": true,
      "tojson": true
    },
    {
      "name": "oneInt",
      "title": "oneInt",
      "object": "oneInt",
      "class": [
        "data.frame"
      ],
      "fields": [
        "x1",
        "x2",
        "x3",
        "y1",
        "y2",
        "y3",
        "z1",
        "z2",
        "z3"
      ],
      "rows": 2000,
      "table": true,
      "tojson": true
    },
    {
      "name": "TPB",
      "title": "TPB",
      "object": "TPB",
      "class": [
        "data.frame"
      ],
      "fields": [
        "att1",
        "att2",
        "att3",
        "att4",
        "att5",
        "sn1",
        "sn2",
        "pbc1",
        "pbc2",
        "pbc3",
        "int1",
        "int2",
        "int3",
        "b1",
        "b2"
      ],
      "rows": 2000,
      "table": true,
      "tojson": true
    },
    {
      "name": "TPB_1SO",
      "title": "TPB_1SO",
      "object": "TPB_1SO",
      "class": [
        "data.frame"
      ],
      "fields": [
        "att1",
        "att2",
        "att3",
        "att4",
        "att5",
        "sn1",
        "sn2",
        "sn3",
        "pbc1",
        "pbc2",
        "pbc3",
        "int1",
        "int2",
        "int3",
        "b1",
        "b2"
      ],
      "rows": 2000,
      "table": true,
      "tojson": true
    },
    {
      "name": "TPB_2SO",
      "title": "TPB_2SO",
      "object": "TPB_2SO",
      "class": [
        "data.frame"
      ],
      "fields": [
        "att1",
        "att2",
        "att3",
        "sn1",
        "sn2",
        "sn3",
        "pb1",
        "pb2",
        "pb3",
        "pc1",
        "pc2",
        "pc3",
        "b1",
        "b2"
      ],
      "rows": 2000,
      "table": true,
      "tojson": true
    },
    {
      "name": "TPB_UK",
      "title": "TPB_UK",
      "object": "TPB_UK",
      "class": [
        "data.frame"
      ],
      "fields": [
        "att1",
        "att2",
        "att3",
        "att4",
        "att5",
        "sn1",
        "sn2",
        "sn3",
        "pbc1",
        "pbc2",
        "pbc3",
        "pbc4",
        "int1",
        "int2",
        "int3",
        "int4",
        "beh1",
        "beh2",
        "beh3"
      ],
      "rows": 1894,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "bootstrap_modsem",
      "title": "Bootstrap a modsem Model",
      "topics": [
        "bootstrap_modsem",
        "bootstrap_modsem.function",
        "bootstrap_modsem.modsem_da",
        "bootstrap_modsem.modsem_pi"
      ]
    },
    {
      "page": "centered_estimates",
      "title": "Get Centered Interaction Term Estimates",
      "topics": [
        "centered_estimates",
        "centered_estimates.lavaan",
        "centered_estimates.modsem_da"
      ]
    },
    {
      "page": "colorize_output",
      "title": "Capture, colorise, and emit console text",
      "topics": [
        "colorize_output"
      ]
    },
    {
      "page": "compare_fit",
      "title": "compare model fit for 'modsem' models",
      "topics": [
        "compare_fit"
      ]
    },
    {
      "page": "default_settings_da",
      "title": "default arguments fro LMS and QML approach",
      "topics": [
        "default_settings_da"
      ]
    },
    {
      "page": "default_settings_pi",
      "title": "default arguments for product indicator approaches",
      "topics": [
        "default_settings_pi"
      ]
    },
    {
      "page": "estimate_h0",
      "title": "Estimate baseline model for 'modsem' models",
      "topics": [
        "estimate_h0",
        "estimate_h0.modsem_da",
        "estimate_h0.modsem_pi"
      ]
    },
    {
      "page": "extract_lavaan",
      "title": "extract lavaan object from modsem object estimated using product indicators",
      "topics": [
        "extract_lavaan"
      ]
    },
    {
      "page": "fit_modsem_da",
      "title": "Fit measures for QML and LMS models",
      "topics": [
        "fit_modsem_da"
      ]
    },
    {
      "page": "get_pi_data",
      "title": "Get data with product indicators for different approaches",
      "topics": [
        "get_pi_data"
      ]
    },
    {
      "page": "get_pi_syntax",
      "title": "Get 'lavaan' syntax for product indicator approaches",
      "topics": [
        "get_pi_syntax"
      ]
    },
    {
      "page": "is_interaction_model",
      "title": "Check if model object has interaction terms",
      "topics": [
        "is_interaction_model"
      ]
    },
    {
      "page": "jordan",
      "title": "Jordan subset of PISA 2006 data",
      "topics": [
        "jordan"
      ]
    },
    {
      "page": "modsem",
      "title": "Estimate interaction effects in structural equation models (SEMs)",
      "topics": [
        "modsem"
      ]
    },
    {
      "page": "modsem_coef",
      "title": "Wrapper for coef",
      "topics": [
        "modsem_coef"
      ]
    },
    {
      "page": "modsem_da",
      "title": "Interaction between latent variables using LMS and QML approaches",
      "topics": [
        "modsem_da"
      ]
    },
    {
      "page": "modsem_inspect",
      "title": "Inspect model information",
      "topics": [
        "modsem_inspect",
        "modsem_inspect.lavaan",
        "modsem_inspect.modsem_da",
        "modsem_inspect.modsem_pi"
      ]
    },
    {
      "page": "modsem_mimpute",
      "title": "Estimate a 'modsem' model using multiple imputation",
      "topics": [
        "modsem_mimpute"
      ]
    },
    {
      "page": "modsem_mplus",
      "title": "Estimation latent interactions through 'Mplus'",
      "topics": [
        "modsem_mplus"
      ]
    },
    {
      "page": "modsem_nobs",
      "title": "Wrapper for nobs",
      "topics": [
        "modsem_nobs"
      ]
    },
    {
      "page": "modsem_pi",
      "title": "Interaction between latent variables using product indicators",
      "topics": [
        "modsem_pi"
      ]
    },
    {
      "page": "modsem_predict",
      "title": "Predict From 'modsem' Models",
      "topics": [
        "modsem_predict",
        "modsem_predict.modsem_da",
        "modsem_predict.modsem_pi"
      ]
    },
    {
      "page": "modsem_vcov",
      "title": "Wrapper for vcov",
      "topics": [
        "modsem_vcov"
      ]
    },
    {
      "page": "modsemify",
      "title": "Generate parameter table for 'lavaan' syntax",
      "topics": [
        "modsemify"
      ]
    },
    {
      "page": "oneInt",
      "title": "oneInt",
      "topics": [
        "oneInt"
      ]
    },
    {
      "page": "parameter_estimates",
      "title": "Extract parameterEstimates from an estimated model",
      "topics": [
        "parameter_estimates",
        "parameter_estimates.lavaan",
        "parameter_estimates.modsem_da",
        "parameter_estimates.modsem_mplus",
        "parameter_estimates.modsem_pi"
      ]
    },
    {
      "page": "plot_interaction",
      "title": "Plot Interaction Effects in a SEM Model",
      "topics": [
        "plot_interaction"
      ]
    },
    {
      "page": "plot_jn",
      "title": "Plot Interaction Effect Using the Johnson-Neyman Technique",
      "topics": [
        "plot_jn"
      ]
    },
    {
      "page": "plot_surface",
      "title": "Plot Surface for Interaction Effects",
      "topics": [
        "plot_surface"
      ]
    },
    {
      "page": "relcorr_single_item",
      "title": "Reliability‑Corrected Single‑Item SEM",
      "topics": [
        "relcorr_single_item"
      ]
    },
    {
      "page": "set_modsem_colors",
      "title": "Define or disable the color theme used by 'modsem'",
      "topics": [
        "set_modsem_colors"
      ]
    },
    {
      "page": "simple_slopes",
      "title": "Get the simple slopes of a SEM model",
      "topics": [
        "simple_slopes"
      ]
    },
    {
      "page": "standardize_model",
      "title": "Standardize a fitted 'modsem_da' model",
      "topics": [
        "standardize_model"
      ]
    },
    {
      "page": "standardized_estimates",
      "title": "Get Standardized Estimates",
      "topics": [
        "standardized_estimates",
        "standardized_estimates.lavaan",
        "standardized_estimates.modsem_da",
        "standardized_estimates.modsem_mplus",
        "standardized_estimates.modsem_pi"
      ]
    },
    {
      "page": "summarize_partable",
      "title": "Summarize a parameter table from a 'modsem' model.",
      "topics": [
        "summarize_partable"
      ]
    },
    {
      "page": "summary",
      "title": "summary for modsem objects",
      "topics": [
        "summary.modsem_da",
        "summary.modsem_mplus",
        "summary.modsem_pi"
      ]
    },
    {
      "page": "TPB",
      "title": "TPB",
      "topics": [
        "TPB"
      ]
    },
    {
      "page": "TPB_1SO",
      "title": "TPB_1SO",
      "topics": [
        "TPB_1SO"
      ]
    },
    {
      "page": "TPB_2SO",
      "title": "TPB_2SO",
      "topics": [
        "TPB_2SO"
      ]
    },
    {
      "page": "TPB_UK",
      "title": "TPB_UK",
      "topics": [
        "TPB_UK"
      ]
    },
    {
      "page": "trace_path",
      "title": "Estimate formulas for (co-)variance paths using Wright's path tracing rules",
      "topics": [
        "trace_path"
      ]
    },
    {
      "page": "twostep",
      "title": "Estimate interaction effects in structural equation models (SEMs) using a twostep procedure",
      "topics": [
        "twostep"
      ]
    },
    {
      "page": "var_interactions",
      "title": "Extract or modify parTable from an estimated model with estimated variances of interaction terms",
      "topics": [
        "var_interactions"
      ]
    }
  ],
  "_readme": "https://github.com/kss2k/modsem/raw/HEAD/README.md",
  "_rundeps": [
    "Amelia",
    "askpass",
    "base64enc",
    "BH",
    "bslib",
    "cachem",
    "cli",
    "cpp11",
    "crosstalk",
    "curl",
    "data.table",
    "Deriv",
    "digest",
    "dplyr",
    "evaluate",
    "farver",
    "fastGHQuad",
    "fastmap",
    "fontawesome",
    "foreign",
    "fs",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "highr",
    "htmltools",
    "htmlwidgets",
    "httr",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "later",
    "lattice",
    "lavaan",
    "lazyeval",
    "lifecycle",
    "magrittr",
    "MASS",
    "memoise",
    "mime",
    "mnormt",
    "mvnfast",
    "mvtnorm",
    "nlme",
    "numDeriv",
    "openssl",
    "otel",
    "pbivnorm",
    "pillar",
    "pkgconfig",
    "plotly",
    "promises",
    "purrr",
    "quadprog",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RhpcBLASctl",
    "rlang",
    "rmarkdown",
    "S7",
    "sass",
    "scales",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_vignettes": [
    {
      "source": "composites.Rmd",
      "filename": "composites.html",
      "title": "composite constructs",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Composite Constructs"
      ],
      "created": "2026-05-14 18:24:59",
      "modified": "2026-05-15 19:59:23",
      "commits": 3
    },
    {
      "source": "customizing.Rmd",
      "filename": "customizing.html",
      "title": "customizing interaction terms",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Specifying the Measurement Model",
        "More Complicated Models"
      ],
      "created": "2024-05-31 18:20:22",
      "modified": "2025-07-25 14:37:37",
      "commits": 8
    },
    {
      "source": "customize_plot_interactions.Rmd",
      "filename": "customize_plot_interactions.html",
      "title": "customizing the output from plot_interaction()",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Baseline Plot",
        "Changing Titles and Labels",
        "Title",
        "Axis Labels",
        "Legend Title",
        "Changing Colors",
        "Greyscale",
        "Brewer Color palettes",
        "Custom Color Palettes",
        "Changing Line types",
        "Combinations"
      ],
      "created": "2025-11-07 12:18:00",
      "modified": "2025-11-07 13:36:34",
      "commits": 2
    },
    {
      "source": "estimation_lms.Rmd",
      "filename": "estimation_lms.html",
      "title": "estimation alternatives using the LMS approach",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Accelerated EM and Adaptive Quadrature"
      ],
      "created": "2025-06-06 14:05:32",
      "modified": "2026-10-12 10:28:12",
      "commits": 13
    },
    {
      "source": "fit_measures_da.Rmd",
      "filename": "fit_measures_da.html",
      "title": "fit measures for LMS and QML",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Example",
        "Fit measures baseline model",
        "Difference Test of Fit",
        "Inspecting Fit Indices",
        "References"
      ],
      "created": "2025-04-25 07:56:17",
      "modified": "2025-07-25 14:37:37",
      "commits": 4
    },
    {
      "source": "higher_order_interactions.Rmd",
      "filename": "higher_order_interactions.html",
      "title": "higher order interactions",
      "engine": "knitr::rmarkdown",
      "headings": [
        "LMS approach",
        "Interaction between two higher order latent variables",
        "Interaction between a first order and a higher order latent variable",
        "Product Indicator Approaches"
      ],
      "created": "2024-11-03 18:16:20",
      "modified": "2025-09-11 16:34:58",
      "commits": 11
    },
    {
      "source": "interaction_two_etas.Rmd",
      "filename": "interaction_two_etas.html",
      "title": "interaction effects between endogenous variables",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The Problem",
        "The Solution",
        "Example"
      ],
      "created": "2024-06-04 11:45:02",
      "modified": "2025-07-25 14:37:37",
      "commits": 9
    },
    {
      "source": "ri_clpm_lms.Rmd",
      "filename": "ri_clpm_lms.html",
      "title": "interaction effects in random intercept cross-lagged panel models (RI-CLPMs)",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Simulate Data",
        "Fit The Model"
      ],
      "created": "2026-08-30 14:02:00",
      "modified": "2026-08-30 14:02:00",
      "commits": 1
    },
    {
      "source": "mc-lms-ord.Rmd",
      "filename": "mc-lms-ord.html",
      "title": "interactions with ordered data",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Example"
      ],
      "created": "2026-05-20 08:07:38",
      "modified": "2026-05-20 08:56:18",
      "commits": 2
    },
    {
      "source": "lms_qml.Rmd",
      "filename": "lms_qml.html",
      "title": "LMS and QML approaches",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The Latent Moderated Structural Equations (LMS) and the Quasi Maximum Likelihood (QML) Approach",
        "A Simple Example",
        "A More Complicated Example"
      ],
      "created": "2024-05-31 18:20:22",
      "modified": "2025-11-07 12:18:00",
      "commits": 25
    },
    {
      "source": "methods.Rmd",
      "filename": "methods.html",
      "title": "methods",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Product Indicator (PI) Approaches:",
        "Distribution Analytic (DA) Approaches"
      ],
      "created": "2024-05-31 18:20:22",
      "modified": "2025-07-25 14:37:37",
      "commits": 7
    },
    {
      "source": "missing_lms_qml.Rmd",
      "filename": "missing_lms_qml.html",
      "title": "missing data in the LMS and QML approaches",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Options for Handling Missing Values",
        "Full Information Maximum Likelihood (FIML)",
        "(Multiple) Imputation"
      ],
      "created": "2025-08-10 12:17:00",
      "modified": "2025-08-12 21:34:26",
      "commits": 3
    },
    {
      "source": "modsem.Rmd",
      "filename": "modsem.html",
      "title": "modsem",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The Basic Syntax",
        "A Simple Example",
        "Interactions Between Two Observed Variables",
        "Using a Regression",
        "Using modsem",
        "Interactions Between Latent and Observed Variables",
        "Quadratic Effects",
        "More Complicated Examples"
      ],
      "created": "2024-05-31 18:20:22",
      "modified": "2025-07-25 14:37:37",
      "commits": 12
    },
    {
      "source": "meanstructure_lms_qml.Rmd",
      "filename": "meanstructure_lms_qml.html",
      "title": "non-centered interaction terms (LMS and QML)",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Non-centered interaction terms"
      ],
      "created": "2025-06-21 11:26:00",
      "modified": "2025-07-25 14:37:37",
      "commits": 4
    },
    {
      "source": "observed_lms_qml.Rmd",
      "filename": "observed_lms_qml.html",
      "title": "observed variables in the LMS- and QML approach",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The Latent Moderated Structural Equations (LMS) and the Quasi Maximum Likelihood (QML) Approach",
        "The LMS Approach",
        "The QML Approach"
      ],
      "created": "2024-06-22 13:36:07",
      "modified": "2026-01-18 20:29:27",
      "commits": 8
    },
    {
      "source": "plot_interactions.Rmd",
      "filename": "plot_interactions.html",
      "title": "plotting interaction effects",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Plotting Interaction Effects",
        "Plotting Johnson-Neyman Regions",
        "Plotting (3D) Surface Plots",
        "Quadratic Effects and Response Surface Models",
        "Generating Data",
        "Fitting Model",
        "2D Plot",
        "3D (Response Surface) Plot"
      ],
      "created": "2024-06-01 09:31:16",
      "modified": "2025-09-12 13:28:32",
      "commits": 17
    },
    {
      "source": "quadratic.Rmd",
      "filename": "quadratic.html",
      "title": "quadratic effects",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Quadratic Effects and Interaction Effects"
      ],
      "created": "2024-05-31 18:20:22",
      "modified": "2025-08-10 18:49:48",
      "commits": 11
    },
    {
      "source": "relcorr_items.Rmd",
      "filename": "relcorr_items.html",
      "title": "reliability-corrected single items",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Reliablity-Corrected Single Items",
        "Choosing Variables"
      ],
      "created": "2025-06-16 17:41:29",
      "modified": "2026-10-12 10:28:12",
      "commits": 7
    },
    {
      "source": "simple_slopes.Rmd",
      "filename": "simple_slopes.html",
      "title": "simple slopes analysis",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Simple Slopes Analysis"
      ],
      "created": "2025-01-07 18:03:10",
      "modified": "2025-07-25 14:37:37",
      "commits": 4
    },
    {
      "source": "lavaan.Rmd",
      "filename": "lavaan.html",
      "title": "using lavaan functions",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2024-05-31 18:20:22",
      "modified": "2025-07-25 14:37:37",
      "commits": 5
    }
  ],
  "_score": 10.25728815825055,
  "_indexed": true,
  "_nocasepkg": "modsem",
  "_universes": [
    "kss2k"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.24",
      "date": "2026-10-14T14:05:03.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "f9fdedf14ebb8c3c089a7b4aa72b068edba81b20",
      "fileid": "https://r2.ropensci.org/5753ab302ad7fa4b2c8a366f6e625e364a6e3591d96b1b2c26f2aa3d3a1a438b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kss2k/actions/runs/38575879075"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.24",
      "date": "2026-10-14T14:05:27.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "f9fdedf14ebb8c3c089a7b4aa72b068edba81b20",
      "fileid": "https://r2.ropensci.org/a3d63fbdaca53fc4025b161c4baabfd098a3d2321948fa672cf754896e56fd1a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kss2k/actions/runs/38575879075"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.24",
      "date": "2026-10-14T14:04:51.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "f9fdedf14ebb8c3c089a7b4aa72b068edba81b20",
      "fileid": "https://r2.ropensci.org/08fb67e98949c9266be7243871ebe0380e2627374b342f40487e6d09697bd3c4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kss2k/actions/runs/38575879075"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.24",
      "date": "2026-10-14T14:05:02.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "f9fdedf14ebb8c3c089a7b4aa72b068edba81b20",
      "fileid": "https://r2.ropensci.org/63169521669948ea18041cb370e59708c119c03c9410b16ca2b5e014294a7c84",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kss2k/actions/runs/38575879075"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.24",
      "date": "2026-10-14T14:10:15.000Z",
      "arch": "aarch64",
      "commit": "f9fdedf14ebb8c3c089a7b4aa72b068edba81b20",
      "fileid": "https://r2.ropensci.org/e9752751d82de4ee38f990983df701fdd77e6ba1aac7eae16b69d8d6f3ee5a9a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kss2k/actions/runs/38575879075"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.24",
      "date": "2026-10-14T14:07:36.000Z",
      "arch": "x86_64",
      "commit": "f9fdedf14ebb8c3c089a7b4aa72b068edba81b20",
      "fileid": "https://r2.ropensci.org/1a57f00c4c39330d7c2299bd5814853c68044f0a60761f09efc4ec89ebc3d0cf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kss2k/actions/runs/38575879075"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.24",
      "date": "2026-10-14T14:08:38.000Z",
      "arch": "aarch64",
      "commit": "f9fdedf14ebb8c3c089a7b4aa72b068edba81b20",
      "fileid": "https://r2.ropensci.org/43a013aa1ceda3926a36c1c06739c8a6011ae09eba8cbf0047b32cbc22d80524",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kss2k/actions/runs/38575879075"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.24",
      "date": "2026-10-14T14:08:06.000Z",
      "arch": "x86_64",
      "commit": "f9fdedf14ebb8c3c089a7b4aa72b068edba81b20",
      "fileid": "https://r2.ropensci.org/45e0d907758b56c6812f00f376799c7329597d713e80a541930cad02086e6d7d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kss2k/actions/runs/38575879075"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.24",
      "date": "2026-10-14T14:05:27.000Z",
      "arch": "emscripten",
      "commit": "f9fdedf14ebb8c3c089a7b4aa72b068edba81b20",
      "fileid": "https://r2.ropensci.org/392b73c1469e32239faa607fb9c04ba00b7a5b2d9ba3c1e5f83ae4ba576b3682",
      "status": "success",
      "buildurl": "https://github.com/r-universe/kss2k/actions/runs/38575879075"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.24",
      "date": "2026-10-14T14:06:57.000Z",
      "arch": "aarch64",
      "commit": "f9fdedf14ebb8c3c089a7b4aa72b068edba81b20",
      "fileid": "https://r2.ropensci.org/77ee6f577b25c113517fedc945a3f2f7f3a67b74f3171ecca8fb5995ce5a14d2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kss2k/actions/runs/38575879075"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.24",
      "date": "2026-10-14T14:04:17.000Z",
      "arch": "x86_64",
      "commit": "f9fdedf14ebb8c3c089a7b4aa72b068edba81b20",
      "fileid": "https://r2.ropensci.org/982b076d88cf85c7328eae69ea3969c19f5cad75d04e3674ff32b8853eb70263",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kss2k/actions/runs/38575879075"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.24",
      "date": "2026-10-14T14:04:32.000Z",
      "arch": "x86_64",
      "commit": "f9fdedf14ebb8c3c089a7b4aa72b068edba81b20",
      "fileid": "https://r2.ropensci.org/527df1e9e0f95bffbcd7521872dbb57caa0360cc78929896300acb093e4c6f39",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kss2k/actions/runs/38575879075"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.24",
      "date": "2026-10-14T14:06:32.000Z",
      "arch": "aarch64",
      "commit": "f9fdedf14ebb8c3c089a7b4aa72b068edba81b20",
      "fileid": "https://r2.ropensci.org/bd22fe1f36e9e4a697075b84aada174c865969823fda65beaacad94fc32ac2af",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kss2k/actions/runs/38575879075"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.24",
      "date": "2026-10-14T14:04:01.000Z",
      "arch": "x86_64",
      "commit": "f9fdedf14ebb8c3c089a7b4aa72b068edba81b20",
      "fileid": "https://r2.ropensci.org/642340e8d1d7180057f260c678c39f577a94b2a4da8786b63334d7d54aba565c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kss2k/actions/runs/38575879075"
    }
  ]
}