{
  "_id": "6a5dc6589baadeef8ab54754",
  "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-07-20 06:51:33 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/e49dd408b421f66587c5dac0fb528d0a056f38b1d7ab75d30f540f1612cdd2d9",
  "_filesize": 293724,
  "_sha256": "e49dd408b421f66587c5dac0fb528d0a056f38b1d7ab75d30f540f1612cdd2d9",
  "_expires": "2026-10-28T06:55:19.000Z",
  "_created": "2026-07-20T06:51:33.000Z",
  "_published": "2026-07-20T06:55:20.872Z",
  "_jobs": [
    {
      "job": 88289386400,
      "time": 180,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8453079119"
    },
    {
      "job": 88289386418,
      "time": 184,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8453080377"
    },
    {
      "job": 88289386419,
      "time": 171,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8453069521"
    },
    {
      "job": 88289386449,
      "time": 153,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8453064931"
    },
    {
      "job": 88288891324,
      "time": 215,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8453024727"
    },
    {
      "job": 88289386420,
      "time": 154,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8453071593"
    },
    {
      "job": 88289386428,
      "time": 122,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8453062533"
    },
    {
      "job": 88289386444,
      "time": 136,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8453066570"
    },
    {
      "job": 88289386465,
      "time": 112,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8453059657"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/jslefche/actions/runs/29722690559",
  "_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": [
    {
      "week": "2025-36",
      "n": 4
    }
  ],
  "_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": 150
  },
  "_downloads": {
    "count": 3020,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/piecewiseSEM"
  },
  "_mentions": 123,
  "_devurl": "https://github.com/jslefche/piecewisesem",
  "_searchresults": 784,
  "_rbuild": "4.6.1",
  "_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",
    "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.405327287005125,
  "_indexed": true,
  "_nocasepkg": "piecewisesem",
  "_universes": [
    "jslefche"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.3.1",
      "date": "2026-07-20T06:54:12.000Z",
      "distro": "resolute",
      "commit": "e8d7d4555d501b07e2bbbae0ec87a3616dd1287f",
      "fileid": "https://r2.ropensci.org/0dffa53433b1cd576d35ca4424c0bd00130fb416644f314807a2304bc201404b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jslefche/actions/runs/29722690559"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.3.1",
      "date": "2026-07-20T06:54:20.000Z",
      "distro": "resolute",
      "commit": "e8d7d4555d501b07e2bbbae0ec87a3616dd1287f",
      "fileid": "https://r2.ropensci.org/8627dd9ad736d1b38df6d510eb0409acea10b4815f5dafdc239c9e54d7ce737e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jslefche/actions/runs/29722690559"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.3.1",
      "date": "2026-07-20T06:53:56.000Z",
      "commit": "e8d7d4555d501b07e2bbbae0ec87a3616dd1287f",
      "fileid": "https://r2.ropensci.org/d36f986f177e360adf6674dcd6aaf9c722d3fc2bb55e19de506f89962c9a0b1f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jslefche/actions/runs/29722690559"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.3.1",
      "date": "2026-07-20T06:53:36.000Z",
      "commit": "e8d7d4555d501b07e2bbbae0ec87a3616dd1287f",
      "fileid": "https://r2.ropensci.org/a89acd972f521b43c50342386b1e40c9abd0d565208418b657320e8415def52f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jslefche/actions/runs/29722690559"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.3.1",
      "date": "2026-07-20T06:54:30.000Z",
      "commit": "e8d7d4555d501b07e2bbbae0ec87a3616dd1287f",
      "fileid": "https://r2.ropensci.org/e84713b130a8f9d5279e2a6058e46ef471b74bdf2d03e404fcfdd5e3d7140dd6",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jslefche/actions/runs/29722690559"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.3.1",
      "date": "2026-07-20T06:53:07.000Z",
      "commit": "e8d7d4555d501b07e2bbbae0ec87a3616dd1287f",
      "fileid": "https://r2.ropensci.org/a2d82d779643c39640aadd3e6276e755b8c934a61732a8c8c1b1fb21bb73243c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jslefche/actions/runs/29722690559"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.3.1",
      "date": "2026-07-20T06:53:23.000Z",
      "commit": "e8d7d4555d501b07e2bbbae0ec87a3616dd1287f",
      "fileid": "https://r2.ropensci.org/353a23dcc75031056488e315e9f80cc766b2d91bb44609c23aa4f6c972015b59",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jslefche/actions/runs/29722690559"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.3.1",
      "date": "2026-07-20T06:52:58.000Z",
      "commit": "e8d7d4555d501b07e2bbbae0ec87a3616dd1287f",
      "fileid": "https://r2.ropensci.org/6fdeaa638a2753c804b97e55fd5bac31feb91d670c0a9e468987ccf2dff4be7c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jslefche/actions/runs/29722690559"
    }
  ]
}