semhelpinghands

An R package to store any handy SEM-related functions that I use

https://github.com/sfcheung/semhelpinghands

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.3%) to scientific vocabulary

Keywords

bootstrapping lavaan r r-package structural-equation-modeling
Last synced: 6 months ago · JSON representation

Repository

An R package to store any handy SEM-related functions that I use

Basic Info
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 8
Topics
bootstrapping lavaan r r-package structural-equation-modeling
Created over 4 years ago · Last pushed over 1 year ago
Metadata Files
Readme Changelog License

README.md

Lifecycle: stable Project Status: Active - The project has reached a stable, usable state and is being actively developed. CRAN status CRAN: Release Date CRAN RStudio mirror downloads Code size Last Commit at Main R-CMD-check <!-- badges: end -->

semhelpinghands

(Version 0.1.12 updated on 2024-11-02, release history)

This package is an assortment of time-saving helper functions for doing structural equation modeling (SEM), mainly by lavaan::lavaan() and its wrappers, such as lavaan::sem() and lavaan::cfa(). This package is not for implementing advanced statistical procedures. This should be the job of excellent packages such as semTools. These helper functions are for tasks that come in handy (at least to me) when doing SEM. They are usually used during the data analysis phase, not for publishing or presenting results.

Many of the tasks can be done by base R code or by dplyr functions. However, these functions may help users who are not familiar with R programming or use R only occasionally to do these tasks without writing their own code, or for people like me who know how to do this using base R but do not want to write the code every time.

I intentionally use base R if possible because I want to keep semhelpinghands a light weight package, depending on as few other packages as possible, so that I do not need to worry about deprecated functions or updates in other packages that break things, defeating the "time saving" purpose of this package.

Home Page

More about this package can be found from the GitHub page of this package:

https://sfcheung.github.io/semhelpinghands/

Installation

The latest version at CRAN can be installed by install.packages():

install.packages("semhelpinghands")

The latest developmental version at GitHub can be installed by remotes::install_github():

remotes::install_github("sfcheung/semhelpinghands")

Motive

One major motive behind all these functions is writing something for my own work with others. So, each function should be at least useful to me myself and I myself will use them. Nevertheless, maybe there are others who, like me, just want some simple functions for some simple tasks. I also like using packages to pack functions I used myself in my work, so I do not have to source files again and again. Therefore, I packaged them into semhelpinghands also for myself. I hope this package will also be useful for some others.

I will only devote a limited amount of time on this package. The package and its functions are means for me to do research. They are not the goals themselves.

Acknowledgement

I would like to thank Prof. Rosseel and Prof. Jorgensen for developing lavaan and semTools. Their advice in the lavaan Google Group and GitHub pages (for lavaan and semTools) on various issues about lavaan helped me in writing some of the functions here, before they were packed into semhelpinghands. If there are people who inspired some of the functions but I forgot to acknowledge, please let me know.

Suggestions and Bugs

This package is still under development. There will be bugs, and there are limitations. Comments and suggestions are welcomed. Feel free to add an issue at GitHub. Although I may not be able to address all of them because this package is intended to be a collection of simple functions for simple tasks, and they are designed to be easy to maintain, I will try to do what I can do.

Owner

  • Name: Shu Fai Cheung
  • Login: sfcheung
  • Kind: user
  • Location: Macao
  • Company: University of Macau

GitHub Events

Total
  • Release event: 1
  • Watch event: 1
  • Delete event: 1
  • Push event: 12
  • Pull request event: 6
  • Create event: 2
Last Year
  • Release event: 1
  • Watch event: 1
  • Delete event: 1
  • Push event: 12
  • Pull request event: 6
  • Create event: 2

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 8
  • Total pull requests: 74
  • Average time to close issues: 10 months
  • Average time to close pull requests: less than a minute
  • Total issue authors: 3
  • Total pull request authors: 1
  • Average comments per issue: 1.88
  • Average comments per pull request: 0.0
  • Merged pull requests: 74
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 2
  • Pull requests: 11
  • Average time to close issues: 19 days
  • Average time to close pull requests: less than a minute
  • Issue authors: 2
  • Pull request authors: 1
  • Average comments per issue: 5.5
  • Average comments per pull request: 0.0
  • Merged pull requests: 11
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • sfcheung (6)
  • kachunwu (1)
  • yrosseel (1)
Pull Request Authors
  • sfcheung (84)
Top Labels
Issue Labels
new features (6) bootstrapping (3) low priority (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 647 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 7
  • Total maintainers: 1
cran.r-project.org: semhelpinghands

Helper Functions for Structural Equation Modeling

  • Versions: 7
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 647 Last month
Rankings
Forks count: 28.8%
Dependent packages count: 29.8%
Stargazers count: 35.2%
Dependent repos count: 35.5%
Average: 38.1%
Downloads: 61.3%
Maintainers (1)
Last synced: 6 months ago

Dependencies

DESCRIPTION cran
  • R >= 4.1.0 depends
  • lavaan * imports
  • knitr * suggests
  • rmarkdown * suggests
  • testthat >= 3.0.0 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 v4.4.1 composite
  • actions/checkout v3 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite