semEff
Automatic Calculation of Effects for Piecewise Structural Equation Models
Science Score: 57.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 6 DOI reference(s) in README -
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (19.4%) to scientific vocabulary
Last synced: 6 months ago
·
JSON representation
·
Repository
Automatic Calculation of Effects for Piecewise Structural Equation Models
Basic Info
- Host: GitHub
- Owner: murphymv
- License: gpl-3.0
- Language: R
- Default Branch: main
- Homepage: https://murphymv.github.io/semEff/
- Size: 17.5 MB
Statistics
- Stars: 12
- Watchers: 2
- Forks: 0
- Open Issues: 3
- Releases: 9
Created almost 7 years ago
· Last pushed over 1 year ago
Metadata Files
Readme
Changelog
License
Citation
README.Rmd
---
output: github_document
---
```{r setup, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# semEff
[](https://www.repostatus.org/) [](https://lifecycle.r-lib.org/articles/stages.html) [](https://www.gnu.org/licenses/gpl-3.0.en.html)  [](https://github.com/murphymv/semEff/actions/workflows/R-CMD-check.yaml) [](https://CRAN.R-project.org/package=semEff)  
`semEff` provides functionality to automatically calculate direct, indirect, and total effects for 'piecewise' structural equation models, comprising lists of fitted models representing structured equations (Lefcheck, 2016; Shipley, 2000, 2009). Confidence intervals are provided via bootstrapping.
Currently supported model classes are `"lm"`, `"glm"`, `"lmerMod"`, `"glmerMod"`, `"lmerModLmerTest"`, `"gls"`, and `"betareg"`.
## Installation
You can install the released version of `semEff` from [CRAN](https://CRAN.R-project.org) with:
``` r
install.packages("semEff")
```
And the development version from [GitHub](https://github.com/) with:
``` r
devtools::install_github("murphymv/semEff@dev")
```
## Usage
The primary function is [`semEff()`](https://murphymv.github.io/semEff/reference/semEff.html), which returns an object of class `"semEff"` with associated `print()` and `summary()` methods. Everything can technically be accomplished in a single call to `semEff()`; however, since bootstrapping is employed to generate resamples for confidence intervals (via [`bootEff()`](https://murphymv.github.io/semEff/reference/bootEff.html)), it is usually preferable to save these estimates separately prior to calling `semEff()` -- allowing more flexibility and saving time if/when recalling the function.
## Examples
Package functions are well-documented and most include some short examples. In addition, see the following vignettes for some longer demonstrations:
- [Analysing direct vs. indirect effects of landscape location on plant species richness](https://murphymv.github.io/semEff/articles/semEff.html)
- [Predicting and plotting indirect effects of degree days to bud burst on tree growth](https://murphymv.github.io/semEff/articles/predicting-effects.html)
## References
Lefcheck, J. S. (2016). piecewiseSEM: Piecewise structural equation modelling in R for ecology, evolution, and systematics. *Methods in Ecology and Evolution*, *7*(5), 573--579. [doi:10/f8s8rb](https://doi.org/10.1111/2041-210X.12512)
Shipley, B. (2000). A New Inferential Test for Path Models Based on Directed Acyclic Graphs. *Structural Equation Modeling: A Multidisciplinary Journal*, *7*(2), 206--218. [doi:10/cqm32d](https://doi.org/10.1207/S15328007SEM0702_4)
Shipley, B. (2009). Confirmatory path analysis in a generalized multilevel context. *Ecology*, *90*(2), 363--368. [doi:10/bqd43d](https://doi.org/10.1890/08-1034.1)
Owner
- Name: Mark Murphy
- Login: murphymv
- Kind: user
- Location: UK
- Twitter: murphy_mv
- Repositories: 6
- Profile: https://github.com/murphymv
Data Analyst | PhD (Ecology) | Interested in research, data, stats, programming, AI.
Citation (CITATION.cff)
# --------------------------------------------
# CITATION file created with {cffr} R package
# See also: https://docs.ropensci.org/cffr/
# --------------------------------------------
cff-version: 1.2.0
message: 'To cite package "semEff" in publications use:'
type: software
license: GPL-3.0-or-later
title: 'semEff: Automatic Calculation of Effects for Piecewise Structural Equation
Models'
version: 0.7.2
doi: 10.32614/CRAN.package.semEff
identifiers:
- type: url
value: https://buymeacoffee.com/murphymv
abstract: Automatically calculate direct, indirect, and total effects for piecewise
structural equation models, comprising lists of fitted models representing structured
equations (Lefcheck, 2016 <https://doi.org/10/f8s8rb>). Confidence intervals are
provided via bootstrapping.
authors:
- family-names: Murphy
given-names: Mark V.
email: murphymv@gmail.com
repository: https://CRAN.R-project.org/package=semEff
repository-code: https://github.com/murphymv/semEff
url: https://murphymv.github.io/semEff/
contact:
- family-names: Murphy
given-names: Mark V.
email: murphymv@gmail.com
references:
- type: software
title: 'R: A Language and Environment for Statistical Computing'
notes: Depends
url: https://www.R-project.org/
authors:
- name: R Core Team
institution:
name: R Foundation for Statistical Computing
address: Vienna, Austria
year: '2024'
version: '>= 3.6.0'
- type: software
title: boot
abstract: 'boot: Bootstrap Functions (Originally by Angelo Canty for S)'
notes: Imports
repository: https://CRAN.R-project.org/package=boot
authors:
- family-names: Canty
given-names: Angelo
email: cantya@mcmaster.ca
- family-names: Ripley
given-names: Brian
email: ripley@stats.ox.ac.uk
year: '2024'
doi: 10.32614/CRAN.package.boot
- type: software
title: gsl
abstract: 'gsl: Wrapper for the Gnu Scientific Library'
notes: Imports
url: https://github.com/RobinHankin/gsl
repository: https://CRAN.R-project.org/package=gsl
authors:
- family-names: Hankin
given-names: Robin K. S.
email: hankin.robin@gmail.com
orcid: https://orcid.org/0000-0001-5982-0415
year: '2024'
doi: 10.32614/CRAN.package.gsl
- type: software
title: lme4
abstract: 'lme4: Linear Mixed-Effects Models using ''Eigen'' and S4'
notes: Imports
url: https://github.com/lme4/lme4/
repository: https://CRAN.R-project.org/package=lme4
authors:
- family-names: Bates
given-names: Douglas
orcid: https://orcid.org/0000-0001-8316-9503
- family-names: Maechler
given-names: Martin
orcid: https://orcid.org/0000-0002-8685-9910
- family-names: Bolker
given-names: Ben
email: bbolker+lme4@gmail.com
orcid: https://orcid.org/0000-0002-2127-0443
- family-names: Walker
given-names: Steven
orcid: https://orcid.org/0000-0002-4394-9078
year: '2024'
doi: 10.32614/CRAN.package.lme4
- type: software
title: parallel
abstract: 'R: A Language and Environment for Statistical Computing'
notes: Imports
authors:
- name: R Core Team
institution:
name: R Foundation for Statistical Computing
address: Vienna, Austria
year: '2024'
- type: software
title: stats
abstract: 'R: A Language and Environment for Statistical Computing'
notes: Imports
authors:
- name: R Core Team
institution:
name: R Foundation for Statistical Computing
address: Vienna, Austria
year: '2024'
- type: software
title: utils
abstract: 'R: A Language and Environment for Statistical Computing'
notes: Imports
authors:
- name: R Core Team
institution:
name: R Foundation for Statistical Computing
address: Vienna, Austria
year: '2024'
- type: software
title: ggplot2
abstract: 'ggplot2: Create Elegant Data Visualisations Using the Grammar of Graphics'
notes: Suggests
url: https://ggplot2.tidyverse.org
repository: https://CRAN.R-project.org/package=ggplot2
authors:
- family-names: Wickham
given-names: Hadley
email: hadley@posit.co
orcid: https://orcid.org/0000-0003-4757-117X
- family-names: Chang
given-names: Winston
orcid: https://orcid.org/0000-0002-1576-2126
- family-names: Henry
given-names: Lionel
- family-names: Pedersen
given-names: Thomas Lin
email: thomas.pedersen@posit.co
orcid: https://orcid.org/0000-0002-5147-4711
- family-names: Takahashi
given-names: Kohske
- family-names: Wilke
given-names: Claus
orcid: https://orcid.org/0000-0002-7470-9261
- family-names: Woo
given-names: Kara
orcid: https://orcid.org/0000-0002-5125-4188
- family-names: Yutani
given-names: Hiroaki
orcid: https://orcid.org/0000-0002-3385-7233
- family-names: Dunnington
given-names: Dewey
orcid: https://orcid.org/0000-0002-9415-4582
- family-names: Brand
given-names: Teun
name-particle: van den
orcid: https://orcid.org/0000-0002-9335-7468
year: '2024'
doi: 10.32614/CRAN.package.ggplot2
- type: software
title: knitr
abstract: 'knitr: A General-Purpose Package for Dynamic Report Generation in R'
notes: Suggests
url: https://yihui.org/knitr/
repository: https://CRAN.R-project.org/package=knitr
authors:
- family-names: Xie
given-names: Yihui
email: xie@yihui.name
orcid: https://orcid.org/0000-0003-0645-5666
year: '2024'
doi: 10.32614/CRAN.package.knitr
- type: software
title: markdown
abstract: 'markdown: Render Markdown with ''commonmark'''
notes: Suggests
url: https://github.com/rstudio/markdown
repository: https://CRAN.R-project.org/package=markdown
authors:
- family-names: Xie
given-names: Yihui
email: xie@yihui.name
orcid: https://orcid.org/0000-0003-0645-5666
- family-names: Allaire
given-names: JJ
- family-names: Horner
given-names: Jeffrey
year: '2024'
doi: 10.32614/CRAN.package.markdown
- type: software
title: piecewiseSEM
abstract: 'piecewiseSEM: Piecewise Structural Equation Modeling'
notes: Suggests
url: https://github.com/jslefche/
repository: https://CRAN.R-project.org/package=piecewiseSEM
authors:
- family-names: Lefcheck
given-names: Jon
email: lefcheckj@si.edu
- family-names: Byrnes
given-names: Jarrett
email: jarrett.byrnes@umb.edu
- family-names: Grace
given-names: James
email: gracej@usgs.gov
year: '2024'
doi: 10.32614/CRAN.package.piecewiseSEM
version: <= 2.3.0
- type: software
title: rmarkdown
abstract: 'rmarkdown: Dynamic Documents for R'
notes: Suggests
url: https://pkgs.rstudio.com/rmarkdown/
repository: https://CRAN.R-project.org/package=rmarkdown
authors:
- family-names: Allaire
given-names: JJ
email: jj@posit.co
- family-names: Xie
given-names: Yihui
email: xie@yihui.name
orcid: https://orcid.org/0000-0003-0645-5666
- family-names: Dervieux
given-names: Christophe
email: cderv@posit.co
orcid: https://orcid.org/0000-0003-4474-2498
- family-names: McPherson
given-names: Jonathan
email: jonathan@posit.co
- family-names: Luraschi
given-names: Javier
- family-names: Ushey
given-names: Kevin
email: kevin@posit.co
- family-names: Atkins
given-names: Aron
email: aron@posit.co
- family-names: Wickham
given-names: Hadley
email: hadley@posit.co
- family-names: Cheng
given-names: Joe
email: joe@posit.co
- family-names: Chang
given-names: Winston
email: winston@posit.co
- family-names: Iannone
given-names: Richard
email: rich@posit.co
orcid: https://orcid.org/0000-0003-3925-190X
year: '2024'
doi: 10.32614/CRAN.package.rmarkdown
GitHub Events
Total
- Issues event: 1
- Watch event: 3
- Issue comment event: 1
Last Year
- Issues event: 1
- Watch event: 3
- Issue comment event: 1
Committers
Last synced: over 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Mark V. Murphy | m****v@g****m | 342 |
| murphymv | m****v | 1 |
Issues and Pull Requests
Last synced: over 2 years ago
All Time
- Total issues: 17
- Total pull requests: 36
- Average time to close issues: 2 months
- Average time to close pull requests: 9 minutes
- Total issue authors: 12
- Total pull request authors: 1
- Average comments per issue: 2.0
- Average comments per pull request: 0.0
- Merged pull requests: 31
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 7
- Pull requests: 1
- Average time to close issues: about 2 months
- Average time to close pull requests: 5 minutes
- Issue authors: 6
- Pull request authors: 1
- Average comments per issue: 1.71
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- Canderson156 (4)
- mvedrin (2)
- alaindanet (2)
- seanhardison1 (1)
- carvazgon90 (1)
- sinushelf (1)
- murphymv (1)
- Gangrelino (1)
- Tamarabdg (1)
- JochemKail (1)
- NatCyr (1)
- Junwei13579 (1)
- BrexLed (1)
- AlexCarrascosa (1)
Pull Request Authors
- murphymv (36)
Top Labels
Issue Labels
question (8)
enhancement (5)
bug (1)
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 6,615 last-month
- Total docker downloads: 166
- Total dependent packages: 1
- Total dependent repositories: 4
- Total versions: 9
- Total maintainers: 1
cran.r-project.org: semEff
Automatic Calculation of Effects for Piecewise Structural Equation Models
- Homepage: https://murphymv.github.io/semEff/
- Documentation: http://cran.r-project.org/web/packages/semEff/semEff.pdf
- License: GPL (≥ 3)
-
Latest release: 0.7.2
published over 1 year ago
Rankings
Downloads: 7.8%
Dependent repos count: 14.6%
Average: 17.2%
Docker downloads count: 17.3%
Stargazers count: 17.4%
Dependent packages count: 18.1%
Forks count: 27.8%
Maintainers (1)
Last synced:
7 months ago
Dependencies
DESCRIPTION
cran
- R >= 3.6.0 depends
- boot * imports
- gsl * imports
- lme4 * imports
- parallel * imports
- stats * imports
- utils * imports
- ggplot2 * suggests
- knitr * suggests
- markdown * suggests
- piecewiseSEM * suggests
- rmarkdown * suggests
.github/workflows/R-CMD-check.yaml
actions
- actions/checkout v2 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pkgdown.yaml
actions
- JamesIves/github-pages-deploy-action 4.1.4 composite
- actions/checkout v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/update-citation-cff.yaml
actions
- actions/checkout v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite