{
  "_id": "6a0f682eacfb0bcc41c5da10",
  "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-05-21 09:30:12 UTC",
    "User": "root"
  },
  "Author": "Jon Lefcheck [aut, cre],\nJarrett Byrnes [aut],\nJames Grace [aut]",
  "MD5sum": "3abb5026d6bbd4960fe6cba3839a06ea",
  "_user": "jslefche",
  "_type": "src",
  "_file": "piecewiseSEM_2.3.1.tar.gz",
  "_fileid": "06d65b317d46c1e7617246a388b925de81808fba7f5ee4f39a2dea0c5330d9a1",
  "_filesize": 293766,
  "_sha256": "06d65b317d46c1e7617246a388b925de81808fba7f5ee4f39a2dea0c5330d9a1",
  "_created": "2026-05-21T09:30:12.000Z",
  "_published": "2026-05-21T20:16:46.957Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77260105240,
      "time": 178,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7132237981"
    },
    {
      "job": 77260105311,
      "time": 167,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7132233918"
    },
    {
      "job": 77260105938,
      "time": 243,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7132246037"
    },
    {
      "job": 77260105233,
      "time": 207,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7132234920"
    },
    {
      "job": 77260105117,
      "time": 223,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7132172748"
    },
    {
      "job": 77260104911,
      "time": 182,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7146215323"
    },
    {
      "job": 77260105272,
      "time": 128,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7132220236"
    },
    {
      "job": 77260105909,
      "time": 120,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7132218815"
    },
    {
      "job": 77260105766,
      "time": 123,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7132218445"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jslefche/actions/runs/26217528530",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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"
  },
  "_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": [
    {
      "week": "2025-36",
      "n": 4
    }
  ],
  "_tags": [],
  "_topics": [
    "sem"
  ],
  "_stars": 177,
  "_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"
  },
  "_downloads": {
    "count": 3804,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/piecewiseSEM"
  },
  "_mentions": 123,
  "_devurl": "https://github.com/jslefche/piecewisesem",
  "_searchresults": 753,
  "_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/piecewiseSEM.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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",
    "microbenchmark",
    "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.483160001211527,
  "_indexed": true,
  "_nocasepkg": "piecewisesem",
  "_universes": [
    "jslefche"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.3.1",
      "date": "2026-05-21T09:32:54.000Z",
      "distro": "noble",
      "commit": "e8d7d4555d501b07e2bbbae0ec87a3616dd1287f",
      "fileid": "2a3a5cf6ec8f3fb9181b9d459aeab798530d969e0e2d7bbc59b03c4fe1aeb449",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jslefche/actions/runs/26217528530"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.3.1",
      "date": "2026-05-21T09:32:52.000Z",
      "distro": "noble",
      "commit": "e8d7d4555d501b07e2bbbae0ec87a3616dd1287f",
      "fileid": "3afae62071aa78ba46aa116308d6f2cda31f7239c481b8c39621c9db3d4c665a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jslefche/actions/runs/26217528530"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.3.1",
      "date": "2026-05-21T09:33:13.000Z",
      "commit": "e8d7d4555d501b07e2bbbae0ec87a3616dd1287f",
      "fileid": "fcc395db3ec1ab81ee1b15f8196823874b0bb9a87681646b458a9370b13026fd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jslefche/actions/runs/26217528530"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.3.1",
      "date": "2026-05-21T09:32:45.000Z",
      "commit": "e8d7d4555d501b07e2bbbae0ec87a3616dd1287f",
      "fileid": "2d1032e84410f0e502e6870752fca350804fba291d614cb8282ff69aa56b79ac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jslefche/actions/runs/26217528530"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.3.1",
      "date": "2026-05-21T20:16:19.000Z",
      "commit": "e8d7d4555d501b07e2bbbae0ec87a3616dd1287f",
      "fileid": "5dcfac37de8080043088117369ff99d417abf0cb32b6665acf2d4bd12bfe8ba2",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jslefche/actions/runs/26217528530"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.3.1",
      "date": "2026-05-21T09:31:57.000Z",
      "commit": "e8d7d4555d501b07e2bbbae0ec87a3616dd1287f",
      "fileid": "5d889e5781332aad56ba56c1ee16c36760d9a6694ec819604e1bda0b7ea05f51",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jslefche/actions/runs/26217528530"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.3.1",
      "date": "2026-05-21T09:31:53.000Z",
      "commit": "e8d7d4555d501b07e2bbbae0ec87a3616dd1287f",
      "fileid": "ad43b622bdcc32ae84739f6da54c3ee4b8dbf864fe6d43ca99ec7ef785bc6a71",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jslefche/actions/runs/26217528530"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.3.1",
      "date": "2026-05-21T09:31:52.000Z",
      "commit": "e8d7d4555d501b07e2bbbae0ec87a3616dd1287f",
      "fileid": "8334f4f5644e8d84fe0c6ffb60f80f30f791340ccbbf84d27c8b3a1436d456a5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jslefche/actions/runs/26217528530"
    }
  ]
}