{
  "_id": "6aacf0e93d719c1f8407355a",
  "Package": "piecewiseSEM",
  "Type": "Package",
  "Title": "Piecewise Structural Equation Modeling",
  "Version": "2.3.1",
  "Date": "2025-09-02",
  "Authors@R": "c(\nperson(\"Jon\", \"Lefcheck\",   role = c(\"aut\", \"cre\"), email = \"jslefche@gmail.com\"),\nperson(\"Jarrett\", \"Byrnes\",  role = \"aut\", email = \"jarrett.byrnes@umb.edu\"),\nperson(\"James\", \"Grace\",  role = \"aut\", email = \"gracej@usgs.gov\")\n)",
  "Maintainer": "Jon Lefcheck <jslefche@gmail.com>",
  "Description": "Implements piecewise structural equation modeling from a\nsingle list of structural equations, with new methods for\nnon-linear, latent, and composite variables, standardized\ncoefficients, query-based prediction and indirect effects. See\n<http://jslefche.github.io/piecewiseSEM/> for more.",
  "URL": "https://github.com/jslefche/",
  "BugReports": "https://github.com/jslefche/piecewiseSEM/issues",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "cmake libglpk-dev make libicu-dev libuv1-dev\nlibxml2-dev libx11-dev",
  "Repository": "https://jslefche.r-universe.dev",
  "Date/Publication": "2025-09-02 18:25:32 UTC",
  "RemoteUrl": "https://github.com/jslefche/piecewisesem",
  "RemoteRef": "HEAD",
  "RemoteSha": "e8d7d4555d501b07e2bbbae0ec87a3616dd1287f",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-18 07:27:48 UTC",
    "User": "root"
  },
  "Author": "Jon Lefcheck [aut, cre],\nJarrett Byrnes [aut],\nJames Grace [aut]",
  "_user": "jslefche",
  "_type": "src",
  "_file": "piecewiseSEM_2.3.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/59cb8167867a3efce32c1255fb2f015db976dddc9fb6ac8c1deda77efe23cb1a",
  "_filesize": 297117,
  "_sha256": "59cb8167867a3efce32c1255fb2f015db976dddc9fb6ac8c1deda77efe23cb1a",
  "_expires": "2026-12-27T08:05:59.000Z",
  "_created": "2026-09-18T07:27:48.000Z",
  "_published": "2026-09-18T08:06:01.400Z",
  "_jobs": [
    {
      "job": 105518844765,
      "time": 195,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10536368172"
    },
    {
      "job": 105518844717,
      "time": 182,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10536761854"
    },
    {
      "job": 105518844771,
      "time": 150,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10537158413"
    },
    {
      "job": 105518844748,
      "time": 232,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10537438425"
    },
    {
      "job": 105517591312,
      "time": 288,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10536152991"
    },
    {
      "job": 105518844833,
      "time": 157,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10536567602"
    },
    {
      "job": 105518844809,
      "time": 109,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10536815764"
    },
    {
      "job": 105518844775,
      "time": 111,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10536751899"
    },
    {
      "job": 105518844820,
      "time": 98,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10536447740"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/jslefche/actions/runs/35319159225",
  "_status": "success",
  "_upstream": "https://github.com/jslefche/piecewisesem",
  "_commit": {
    "id": "e8d7d4555d501b07e2bbbae0ec87a3616dd1287f",
    "author": "Jon Lefcheck <jlefcheck@umces.edu>",
    "committer": "Jon Lefcheck <jlefcheck@umces.edu>",
    "message": "CRAN submission\n",
    "time": 1756837532
  },
  "_maintainer": {
    "name": "Jon Lefcheck",
    "email": "jslefche@gmail.com"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.5.0",
      "role": "Depends"
    },
    {
      "package": "car",
      "role": "Imports"
    },
    {
      "package": "DiagrammeR",
      "role": "Imports"
    },
    {
      "package": "emmeans",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "role": "Imports"
    },
    {
      "package": "lme4",
      "role": "Imports"
    },
    {
      "package": "multcomp",
      "role": "Imports"
    },
    {
      "package": "MuMIn",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "nlme",
      "role": "Imports"
    },
    {
      "package": "performance",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "jslefche",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "sem"
  ],
  "_stars": 179,
  "_contributors": [
    {
      "user": "jebyrnes",
      "count": 64,
      "uuid": 757410
    },
    {
      "user": "achazhardenberg",
      "count": 19,
      "uuid": 5829411
    },
    {
      "user": "jslefche",
      "count": 14,
      "uuid": 2342999
    },
    {
      "user": "kdarras",
      "count": 2,
      "uuid": 7696198
    },
    {
      "user": "j-tweed",
      "count": 1,
      "uuid": 1643942
    }
  ],
  "_userbio": {
    "uuid": 2342999,
    "type": "user",
    "name": "Jon Lefcheck",
    "followers": 151
  },
  "_downloads": {
    "count": 3792,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/piecewiseSEM"
  },
  "_mentions": 123,
  "_devurl": "https://github.com/jslefche/piecewisesem",
  "_searchresults": 778,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/piecewiseSEM.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/jslefche/piecewisesem",
  "_realowner": "jslefche",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2015-10-27"
    },
    {
      "version": "1.0.3",
      "date": "2016-02-01"
    },
    {
      "version": "1.1",
      "date": "2016-03-14"
    },
    {
      "version": "1.1.1",
      "date": "2016-05-18"
    },
    {
      "version": "1.1.2",
      "date": "2016-06-06"
    },
    {
      "version": "1.1.3",
      "date": "2016-07-11"
    },
    {
      "version": "1.2.0",
      "date": "2016-10-11"
    },
    {
      "version": "1.2.1",
      "date": "2016-12-08"
    },
    {
      "version": "2.0.0",
      "date": "2018-06-12"
    },
    {
      "version": "2.0.1",
      "date": "2018-07-03"
    },
    {
      "version": "2.0.2",
      "date": "2018-07-24"
    },
    {
      "version": "2.1.0",
      "date": "2019-12-05"
    },
    {
      "version": "2.1.2",
      "date": "2020-12-09"
    },
    {
      "version": "2.3.0",
      "date": "2023-03-04"
    },
    {
      "version": "2.3.0.1",
      "date": "2024-06-11"
    },
    {
      "version": "2.3.1",
      "date": "2025-09-02"
    }
  ],
  "_exports": [
    "%~~%",
    "AIC_psem",
    "as.psem",
    "basisSet",
    "cerror",
    "coefs",
    "dSep",
    "evaluateClasses",
    "fisherC",
    "getCoefficients",
    "getDAG",
    "getSortedPsem",
    "LLchisq",
    "multigroup",
    "partialCorr",
    "partialResid",
    "psem",
    "rsquared",
    "stdCoefs",
    "unstdCoefs"
  ],
  "_datasets": [
    {
      "name": "keeley",
      "title": "Data set from Grace & Keeley (2006)",
      "object": "keeley",
      "class": [
        "data.frame"
      ],
      "fields": [
        "distance",
        "elev",
        "abiotic",
        "age",
        "hetero",
        "firesev",
        "cover",
        "rich"
      ],
      "rows": 90,
      "table": true,
      "tojson": true
    },
    {
      "name": "meadows",
      "title": "Data set from Grace & Jutila (1999)",
      "object": "meadows",
      "class": [
        "data.frame"
      ],
      "fields": [
        "grazed",
        "mass",
        "elev",
        "rich"
      ],
      "rows": 354,
      "table": true,
      "tojson": true
    },
    {
      "name": "shipley",
      "title": "Data set from Shipley (2006)",
      "object": "shipley",
      "class": [
        "data.frame"
      ],
      "fields": [
        "site",
        "tree",
        "lat",
        "year",
        "Date",
        "DD",
        "Growth",
        "Survival",
        "Live"
      ],
      "rows": 1900,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "piecewiseSEM-package",
      "title": "The 'piecewiseSEM` package",
      "topics": [
        "piecewiseSEM-package",
        "piecewiseSEM"
      ]
    },
    {
      "page": "grapes-twiddle-twiddle-grapes",
      "title": "Correlated error operator",
      "topics": [
        "%~~%"
      ]
    },
    {
      "page": "AIC_psem",
      "title": "Information criterion values for SEM",
      "topics": [
        "AIC_psem"
      ]
    },
    {
      "page": "AIC.psem",
      "title": "Generic function for SEM AIC(c) score",
      "topics": [
        "AIC.psem"
      ]
    },
    {
      "page": "anova.psem",
      "title": "ANOVA and chi-squared difference test for model comparison",
      "topics": [
        "anova.psem"
      ]
    },
    {
      "page": "as.psem",
      "title": "Convert list to psem object",
      "topics": [
        "as.psem"
      ]
    },
    {
      "page": "basisSet",
      "title": "Derivation of the basis set",
      "topics": [
        "basisSet"
      ]
    },
    {
      "page": "cbind_fill",
      "title": "Bind data.frames of differing dimensions",
      "topics": [
        "cbind_fill"
      ]
    },
    {
      "page": "cerror",
      "title": "Correlated errors",
      "topics": [
        "cerror"
      ]
    },
    {
      "page": "coefs",
      "title": "Extract path coefficients",
      "topics": [
        "coefs"
      ]
    },
    {
      "page": "dSep",
      "title": "Tests of directed separation",
      "topics": [
        "dSep"
      ]
    },
    {
      "page": "evaluateClasses",
      "title": "Evaluate model classes and stop if unsupported model class",
      "topics": [
        "evaluateClasses"
      ]
    },
    {
      "page": "fisherC",
      "title": "Summarize tests of directed separation using Fisher's C statistic",
      "topics": [
        "fisherC"
      ]
    },
    {
      "page": "getDAG",
      "title": "Generate adjacency matrix from list of structural equations",
      "topics": [
        "getDAG"
      ]
    },
    {
      "page": "getSortedPsem",
      "title": "Get a sorted psem object in DAG order",
      "topics": [
        "getSortedPsem"
      ]
    },
    {
      "page": "import",
      "title": "Functions to import from dependencies",
      "topics": [
        "import"
      ]
    },
    {
      "page": "keeley",
      "title": "Data set from Grace & Keeley (2006)",
      "topics": [
        "keeley"
      ]
    },
    {
      "page": "LLchisq",
      "title": "Generalized chi-squared for piecewise SEM",
      "topics": [
        "LLchisq"
      ]
    },
    {
      "page": "meadows",
      "title": "Data set from Grace & Jutila (1999)",
      "topics": [
        "meadows"
      ]
    },
    {
      "page": "multigroup",
      "title": "Multigroup Analysis for Piecewise SEM",
      "topics": [
        "multigroup"
      ]
    },
    {
      "page": "partialResid",
      "title": "Computing partial effects",
      "topics": [
        "partialResid"
      ]
    },
    {
      "page": "plot.psem",
      "title": "Plotting of Piecewise Structural Equation Models",
      "topics": [
        "plot.psem"
      ]
    },
    {
      "page": "print.anova.psem",
      "title": "Print anova",
      "topics": [
        "print.anova.psem"
      ]
    },
    {
      "page": "print.basisSet",
      "title": "Print basis set",
      "topics": [
        "print.basisSet"
      ]
    },
    {
      "page": "print.multigroup.psem",
      "title": "Print multigroup",
      "topics": [
        "print.multigroup.psem"
      ]
    },
    {
      "page": "print.psem",
      "title": "Print psem",
      "topics": [
        "print.psem"
      ]
    },
    {
      "page": "print.summary.psem",
      "title": "Print summary",
      "topics": [
        "print.summary.psem"
      ]
    },
    {
      "page": "psem",
      "title": "Fitting piecewise structural equation models",
      "topics": [
        "psem"
      ]
    },
    {
      "page": "residuals.psem",
      "title": "Residual values from fit models",
      "topics": [
        "residuals.psem"
      ]
    },
    {
      "page": "rsquared",
      "title": "R-squared for linear regression",
      "topics": [
        "rsquared"
      ]
    },
    {
      "page": "shipley",
      "title": "Data set from Shipley (2006)",
      "topics": [
        "shipley"
      ]
    },
    {
      "page": "summary.psem",
      "title": "Summarizing piecewise structural equation models",
      "topics": [
        "summary.psem"
      ]
    },
    {
      "page": "update.psem",
      "title": "Update psem model object with additional values.",
      "topics": [
        "update.psem"
      ]
    }
  ],
  "_readme": "https://github.com/jslefche/piecewisesem/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "base64enc",
    "bayestestR",
    "bit",
    "bit64",
    "boot",
    "broom",
    "bslib",
    "cachem",
    "car",
    "carData",
    "cli",
    "clipr",
    "codetools",
    "colorspace",
    "cowplot",
    "cpp11",
    "crayon",
    "datawizard",
    "Deriv",
    "DiagrammeR",
    "digest",
    "doBy",
    "dplyr",
    "emmeans",
    "estimability",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "forecast",
    "Formula",
    "fracdiff",
    "fs",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "highr",
    "hms",
    "htmltools",
    "htmlwidgets",
    "igraph",
    "insight",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "lmtest",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "memoise",
    "mgcv",
    "mime",
    "minqa",
    "modelr",
    "multcomp",
    "MuMIn",
    "mvtnorm",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "pbkrtest",
    "performance",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "quantreg",
    "R6",
    "rappdirs",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "readr",
    "reformulas",
    "rlang",
    "rmarkdown",
    "rstudioapi",
    "S7",
    "sandwich",
    "sass",
    "scales",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "TH.data",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "tinytex",
    "tzdb",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "visNetwork",
    "vroom",
    "withr",
    "xfun",
    "yaml",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "piecewiseSEM.Rmd",
      "filename": "piecewiseSEM.html",
      "title": "piecewiseSEM: Piecewise Structural Equation Modeling in R",
      "author": "Jonathan S. Lefcheck",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2015-10-23 14:38:07",
      "modified": "2023-03-03 17:13:09",
      "commits": 18
    }
  ],
  "_score": 10.500852207019253,
  "_indexed": true,
  "_nocasepkg": "piecewisesem",
  "_universes": [
    "jslefche"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.3.1",
      "date": "2026-09-18T07:30:45.000Z",
      "distro": "resolute",
      "commit": "e8d7d4555d501b07e2bbbae0ec87a3616dd1287f",
      "fileid": "https://r2.ropensci.org/5826ba83e4b13bc245f81a2fc49eff6dee525d321d17e9bda5e4e9684d1679b3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jslefche/actions/runs/35319159225"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.3.1",
      "date": "2026-09-18T07:30:35.000Z",
      "distro": "resolute",
      "commit": "e8d7d4555d501b07e2bbbae0ec87a3616dd1287f",
      "fileid": "https://r2.ropensci.org/f2fcfb82d863d82dffb2ad3d428ea6f4b76811e5e945ad2d3daf0134b2c279aa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jslefche/actions/runs/35319159225"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.3.1",
      "date": "2026-09-18T08:01:46.000Z",
      "commit": "e8d7d4555d501b07e2bbbae0ec87a3616dd1287f",
      "fileid": "https://r2.ropensci.org/c931a97b1770aafcf7fc7f02364810e22790b5fd039e3c2543f10a2d89ea9c3c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jslefche/actions/runs/35319159225"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.3.1",
      "date": "2026-09-18T08:04:07.000Z",
      "commit": "e8d7d4555d501b07e2bbbae0ec87a3616dd1287f",
      "fileid": "https://r2.ropensci.org/3968099f352cc3cc49c2c7ffe1151fd44e7282f354ac55dc9a0c0e8554a7ef85",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jslefche/actions/runs/35319159225"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.3.1",
      "date": "2026-09-18T07:30:53.000Z",
      "commit": "e8d7d4555d501b07e2bbbae0ec87a3616dd1287f",
      "fileid": "https://r2.ropensci.org/df0aa018e3d3a28c4039c690bf5dcff5c41532f9b87906ee14eced47a5739693",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jslefche/actions/runs/35319159225"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.3.1",
      "date": "2026-09-18T07:29:14.000Z",
      "commit": "e8d7d4555d501b07e2bbbae0ec87a3616dd1287f",
      "fileid": "https://r2.ropensci.org/921a2774262966efd55ff892b7f3e3b8a3d610f1b126c1df7d57432ab7c5b7e7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jslefche/actions/runs/35319159225"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.3.1",
      "date": "2026-09-18T07:29:20.000Z",
      "commit": "e8d7d4555d501b07e2bbbae0ec87a3616dd1287f",
      "fileid": "https://r2.ropensci.org/f3a9bcec3a00dec7122638cbe2e375197c65f36d9e3dd914cb278f7c5196cae3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jslefche/actions/runs/35319159225"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.3.1",
      "date": "2026-09-18T07:29:18.000Z",
      "commit": "e8d7d4555d501b07e2bbbae0ec87a3616dd1287f",
      "fileid": "https://r2.ropensci.org/801fe7fa627ca4aaec69f2d0a0d7ebd1f32cea07796c11da385cc95c43fd3636",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jslefche/actions/runs/35319159225"
    }
  ]
}