{
  "_id": "6a103f1aacfb0bcc41c9cbd4",
  "Package": "semhelpinghands",
  "Title": "Helper Functions for Structural Equation Modeling",
  "Version": "0.1.14",
  "Authors@R": "person(given = \"Shu Fai\",\nfamily = \"Cheung\",\nrole = c(\"aut\", \"cre\"),\nemail = \"shufai.cheung@gmail.com\",\ncomment = c(ORCID = \"0000-0002-9871-9448\"))",
  "Description": "An assortment of helper functions for doing structural\nequation modeling, mainly by 'lavaan' for now. Most of them are\ntime-saving functions for common tasks in doing structural\nequation modeling and reading the output. This package is not\nfor functions that implement advanced statistical procedures.\nIt is a light-weight package for simple functions that do\nsimple tasks conveniently, with as few dependencies as\npossible.",
  "URL": "https://sfcheung.github.io/semhelpinghands/",
  "BugReports": "https://github.com/sfcheung/semhelpinghands/issues",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/testthat/parallel": "true",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Repository": "https://sfcheung.r-universe.dev",
  "Date/Publication": "2026-02-10 13:08:29 UTC",
  "RemoteUrl": "https://github.com/sfcheung/semhelpinghands",
  "RemoteRef": "HEAD",
  "RemoteSha": "b62161ebee65d074eabda983de51e179339d26e1",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-11 08:57:06 UTC",
    "User": "root"
  },
  "Author": "Shu Fai Cheung [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-9871-9448>)",
  "Maintainer": "Shu Fai Cheung <shufai.cheung@gmail.com>",
  "MD5sum": "fd214777fee893a7373bd25d49bcf647",
  "_user": "sfcheung",
  "_type": "src",
  "_file": "semhelpinghands_0.1.14.tar.gz",
  "_fileid": "32a0c25d609b9c38821f6c4c2533e5e9d103d33356928b95d4dddbc20f950692",
  "_filesize": 1271597,
  "_sha256": "32a0c25d609b9c38821f6c4c2533e5e9d103d33356928b95d4dddbc20f950692",
  "_created": "2026-05-11T08:57:06.000Z",
  "_published": "2026-05-22T11:33:46.270Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77371303748,
      "time": 170,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6914320835"
    },
    {
      "job": 77371303891,
      "time": 153,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6914315046"
    },
    {
      "job": 77371304090,
      "time": 116,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6914302862"
    },
    {
      "job": 77371303669,
      "time": 154,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6914315286"
    },
    {
      "job": 77371303253,
      "time": 188,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6914264137"
    },
    {
      "job": 77371303402,
      "time": 105,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7159491757"
    },
    {
      "job": 77371303832,
      "time": 128,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6914306713"
    },
    {
      "job": 77371303982,
      "time": 109,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6914300547"
    },
    {
      "job": 77371303671,
      "time": 122,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6914304902"
    }
  ],
  "_buildurl": "https://github.com/r-universe/sfcheung/actions/runs/25660254703",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/sfcheung/semhelpinghands",
  "_commit": {
    "id": "b62161ebee65d074eabda983de51e179339d26e1",
    "author": "Shu Fai Cheung <shufai.cheung@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #90 from sfcheung/devel\n\n0.1.14: Fix a test",
    "time": 1770728909
  },
  "_maintainer": {
    "name": "Shu Fai Cheung",
    "email": "shufai.cheung@gmail.com",
    "login": "sfcheung",
    "linkedin": "in/shufaicheung",
    "twitter": "@blogonresearch",
    "uuid": 7019263,
    "orcid": "0000-0002-9871-9448"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "lavaan",
      "role": "Imports"
    },
    {
      "package": "boot",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "ggrepel",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "semTools",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "sfcheung",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-47",
      "n": 1
    },
    {
      "week": "2026-07",
      "n": 3
    }
  ],
  "_tags": [],
  "_topics": [
    "bootstrapping",
    "lavaan",
    "structural-equation-modeling"
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "sfcheung",
      "count": 332,
      "uuid": 7019263
    },
    {
      "user": "tdjorgensen",
      "count": 1,
      "uuid": 1742258
    }
  ],
  "_userbio": {
    "uuid": 7019263,
    "type": "user",
    "name": "Shu Fai Cheung"
  },
  "_downloads": {
    "count": 562,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/semhelpinghands"
  },
  "_devurl": "https://github.com/sfcheung/semhelpinghands",
  "_pkgdown": "https://sfcheung.github.io/semhelpinghands/",
  "_searchresults": 29,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/semhelpinghands.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/sfcheung/semhelpinghands",
  "_realowner": "sfcheung",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.4.4",
      "date": "2022-08-27"
    },
    {
      "version": "0.1.6",
      "date": "2023-01-06"
    },
    {
      "version": "0.1.8",
      "date": "2023-07-06"
    },
    {
      "version": "0.1.9",
      "date": "2023-09-17"
    },
    {
      "version": "0.1.10",
      "date": "2024-03-12"
    },
    {
      "version": "0.1.11",
      "date": "2024-04-26"
    },
    {
      "version": "0.1.12",
      "date": "2024-11-02"
    },
    {
      "version": "0.1.14",
      "date": "2026-02-16"
    }
  ],
  "_exports": [
    "add_exo_cov",
    "add_sig",
    "annotate_matrices",
    "auto_exo_cov",
    "compare_estimators",
    "compare_ptables",
    "filter_by",
    "fitMeasures_by_models",
    "get_boot_def",
    "get_boot_est_std",
    "group_by_dvs",
    "group_by_groups",
    "group_by_ivs",
    "group_by_models",
    "plot_boot",
    "plot_models_fm",
    "ptable_to_syntax",
    "record_history",
    "se_ratios",
    "show_cfi",
    "show_ifi",
    "show_more_options",
    "show_options",
    "show_tli",
    "sort_by",
    "standardizedSolution_boot_ci",
    "store_boot_def",
    "store_boot_est_std",
    "vec_compRelSEM",
    "vec_def_se",
    "vec_def_var",
    "vec_est_se",
    "vec_est_var",
    "vec_lavTestLRT",
    "vec_lavTestScore",
    "vec_lavTestWald",
    "vec_rsquare",
    "vec_sample_var",
    "vec_sample_vcov"
  ],
  "_datasets": [
    {
      "name": "dvs_ivs",
      "title": "Sample Dataset: 3 Predictors and 3 Outcomes",
      "object": "dvs_ivs",
      "class": [
        "data.frame"
      ],
      "fields": [
        "y1",
        "y2",
        "y3",
        "x1",
        "x2",
        "x3",
        "gp"
      ],
      "rows": 100,
      "table": true,
      "tojson": true
    },
    {
      "name": "simple_mediation",
      "title": "Sample Dataset: Simple Mediation",
      "object": "simple_mediation",
      "class": [
        "data.frame"
      ],
      "fields": [
        "x",
        "m",
        "y",
        "city"
      ],
      "rows": 100,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "auto_cov",
      "title": "Add Covariances Between Exogenous Variables",
      "topics": [
        "add_exo_cov",
        "auto_cov",
        "auto_exo_cov"
      ]
    },
    {
      "page": "add_sig",
      "title": "Add Significant Test Results",
      "topics": [
        "add_sig"
      ]
    },
    {
      "page": "annotate_matrices",
      "title": "Annotate the Matrices of a 'lavaan' Model",
      "topics": [
        "annotate_matrices",
        "print.annotate_matrices"
      ]
    },
    {
      "page": "compare_estimators",
      "title": "Refit a 'lavaan'-Model by Several Estimators",
      "topics": [
        "compare_estimators",
        "se_ratios"
      ]
    },
    {
      "page": "dvs_ivs",
      "title": "Sample Dataset: 3 Predictors and 3 Outcomes",
      "topics": [
        "dvs_ivs"
      ]
    },
    {
      "page": "filter_by",
      "title": "Filter a Parameter Estimates Table",
      "topics": [
        "filter_by"
      ]
    },
    {
      "page": "fitMeasures_by_models",
      "title": "Fit Measures By Models",
      "topics": [
        "fitMeasures_by_models"
      ]
    },
    {
      "page": "group_by_groups",
      "title": "Group Estimates By Groups",
      "topics": [
        "group_by_groups"
      ]
    },
    {
      "page": "group_by_models",
      "title": "Group Estimates By Models",
      "topics": [
        "group_by_models"
      ]
    },
    {
      "page": "group_estimates",
      "title": "Group Estimates By Dependent or Independent Variables",
      "topics": [
        "group_by_dvs",
        "group_by_ivs",
        "group_estimates"
      ]
    },
    {
      "page": "plot_boot",
      "title": "Diagnostic Plots of Bootstrap Estimates in 'lavaan'",
      "topics": [
        "plot_boot"
      ]
    },
    {
      "page": "plot_models_fm",
      "title": "Plot Models on a Chi-Squares-vs-Dfs Graph",
      "topics": [
        "plot_models_fm"
      ]
    },
    {
      "page": "print.est_table",
      "title": "Print an 'est_table' Object",
      "topics": [
        "print.est_table"
      ]
    },
    {
      "page": "print.fit_by_models",
      "title": "Print a 'fit_by_models' Object",
      "topics": [
        "print.fit_by_models"
      ]
    },
    {
      "page": "print.std_solution_boot",
      "title": "Print an 'std_solution_boot' Object",
      "topics": [
        "print.std_solution_boot"
      ]
    },
    {
      "page": "ptable_to_syntax",
      "title": "Convert a 'lavaan' Parameter Table to a 'lavaan' Model Syntax",
      "topics": [
        "compare_ptables",
        "ptable_to_syntax"
      ]
    },
    {
      "page": "record_history",
      "title": "Record the Minimization History",
      "topics": [
        "plot.fit_history",
        "print.fit_history",
        "record_history"
      ]
    },
    {
      "page": "show_ifi",
      "title": "Visualize How CFI and TLI Are Computed",
      "topics": [
        "show_cfi",
        "show_ifi",
        "show_tli"
      ]
    },
    {
      "page": "show_more_options",
      "title": "Show More Major Options in an Output of 'lavaan'",
      "topics": [
        "print.show_more_options",
        "show_more_options"
      ]
    },
    {
      "page": "show_options",
      "title": "Show Major Options in an Output of 'lavaan'",
      "topics": [
        "print.show_options",
        "show_options"
      ]
    },
    {
      "page": "simple_mediation",
      "title": "Sample Dataset: Simple Mediation",
      "topics": [
        "simple_mediation"
      ]
    },
    {
      "page": "sort_by",
      "title": "Sort a Parameter Estimates Table",
      "topics": [
        "sort_by"
      ]
    },
    {
      "page": "standardizedSolution_boot_ci",
      "title": "Bootstrap CIs for Standardized Solution",
      "topics": [
        "get_boot_est_std",
        "standardizedSolution_boot_ci",
        "store_boot_est_std"
      ]
    },
    {
      "page": "store_boot_def",
      "title": "Store Bootstrap Estimates of User-Defined Parameters",
      "topics": [
        "get_boot_def",
        "store_boot_def"
      ]
    },
    {
      "page": "vector_from_lavaan",
      "title": "Wrapper Functions to Extract Information as a Vector",
      "topics": [
        "vector_from_lavaan",
        "vec_compRelSEM",
        "vec_def_se",
        "vec_def_var",
        "vec_est_se",
        "vec_est_var",
        "vec_lavTestLRT",
        "vec_lavTestScore",
        "vec_lavTestWald",
        "vec_rsquare",
        "vec_sample_var",
        "vec_sample_vcov"
      ]
    }
  ],
  "_pkglogo": "https://github.com/sfcheung/semhelpinghands/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/sfcheung/semhelpinghands/raw/HEAD/README.md",
  "_rundeps": [
    "boot",
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "ggrepel",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lavaan",
    "lifecycle",
    "MASS",
    "mnormt",
    "numDeriv",
    "pbivnorm",
    "quadprog",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "standardizedSolution_boot_ci.Rmd",
      "filename": "standardizedSolution_boot_ci.html",
      "title": "Bootstrap Confidence Interval for Standardized Solution in lavaan",
      "author": "Shu Fai Cheung",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Note",
        "Introduction",
        "What standardizedSolution_boot_ci() Does",
        "Data and Model",
        "Bootstrap Percentile CIs for Standardized Solution",
        "Print in a Friendly Format",
        "Background",
        "Reference(s)"
      ],
      "created": "2022-04-16 16:57:16",
      "modified": "2026-02-10 11:59:38",
      "commits": 8
    },
    {
      "source": "semhelpinghands.Rmd",
      "filename": "semhelpinghands.html",
      "title": "semhelpinghands",
      "author": "Shu Fai Cheung",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Manipulate Parameter Estimates Tables",
        "Add Significance Test Results: add_sig()",
        "Filter by Operators and Some Other Columns: filter_by()",
        "Group By DVs or Group By IVs: group_by_dvs() and group_by_ivs()",
        "Group By Groups: group_by_groups()",
        "Compare Models: group_by_models()",
        "Sort Rows: sort_by()",
        "Piping",
        "Compare Methods",
        "Bootstrapping",
        "Others",
        "Showing the Options in a Model",
        "Recoding Minimization History",
        "Add Covariances Between \"Exogenous\" Variables"
      ],
      "created": "2021-11-07 01:52:07",
      "modified": "2025-11-22 13:42:59",
      "commits": 8
    }
  ],
  "_score": 4.763427993562937,
  "_indexed": true,
  "_nocasepkg": "semhelpinghands",
  "_universes": [
    "sfcheung"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.14",
      "date": "2026-05-11T08:59:19.000Z",
      "distro": "noble",
      "commit": "b62161ebee65d074eabda983de51e179339d26e1",
      "fileid": "963d10917d694cbae14ce433dbcab6b6783ff2dffb55a988e8864c39abd0e4a3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sfcheung/actions/runs/25660254703"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.14",
      "date": "2026-05-11T08:59:10.000Z",
      "distro": "noble",
      "commit": "b62161ebee65d074eabda983de51e179339d26e1",
      "fileid": "ac6402cea17835d8a75169926fad6c2c96c4610701f59342174179ca4b8fccd4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sfcheung/actions/runs/25660254703"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.14",
      "date": "2026-05-11T08:58:40.000Z",
      "commit": "b62161ebee65d074eabda983de51e179339d26e1",
      "fileid": "1008c46308a3633b77df9b9e733544d5b4ef5ba4b4456f39e433c8544a64e198",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sfcheung/actions/runs/25660254703"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.14",
      "date": "2026-05-11T08:59:11.000Z",
      "commit": "b62161ebee65d074eabda983de51e179339d26e1",
      "fileid": "80cbc46bf8106fb97bdbce41778b0d8550689cf66d25fb69d99a935037c413fa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sfcheung/actions/runs/25660254703"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.14",
      "date": "2026-05-11T08:58:25.000Z",
      "commit": "b62161ebee65d074eabda983de51e179339d26e1",
      "fileid": "2c637bc2e622b3abd754f3b649e6a41aea1be0774d0ab46bdcb75c4886da39e3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sfcheung/actions/runs/25660254703"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.14",
      "date": "2026-05-11T08:58:13.000Z",
      "commit": "b62161ebee65d074eabda983de51e179339d26e1",
      "fileid": "c6918e9b87ce2ce1e1176518d9b9dff6c828cb37a4b0c14ae8a4b46303fb21d7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sfcheung/actions/runs/25660254703"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.14",
      "date": "2026-05-11T08:58:21.000Z",
      "commit": "b62161ebee65d074eabda983de51e179339d26e1",
      "fileid": "08010d7387d06a4a86dfa86248ebd9397d1bd297086f31e579fd734713dbcb83",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sfcheung/actions/runs/25660254703"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.14",
      "date": "2026-05-22T11:33:26.000Z",
      "commit": "b62161ebee65d074eabda983de51e179339d26e1",
      "fileid": "ca2e4ced359c08bcdee9077d651205c39554758d461f0c4fde2e8728832075e1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/sfcheung/actions/runs/25660254703"
    }
  ]
}