lmhelprs

A collection of helper functions for some common tasks in fitting linear models, mainly by lm().

https://github.com/sfcheung/lmhelprs

Science Score: 26.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
    Found 4 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.3%) to scientific vocabulary

Keywords

r-package regression-models
Last synced: 5 months ago · JSON representation

Repository

A collection of helper functions for some common tasks in fitting linear models, mainly by lm().

Basic Info
Statistics
  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 2
Topics
r-package regression-models
Created over 2 years ago · Last pushed 10 months 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 Code size Last Commit at Main R-CMD-check <!-- badges: end -->

lmhelprs: A collection of helper functions for some common tasks in fitting linear models, mainly by lm()

(Version 0.4.3, updated on 2025-05-04, release history)

A collection of helper functions for multiple regression models fitted by lm(). Most of them are simple functions for simple tasks which can be done with coding, but may not be easy for occasional users of R.

For more information on this package, please visit its GitHub page:

https://sfcheung.github.io/lmhelprs/

Installation

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

r install.packages("lmhelprs")

The latest developmental version of this package can be installed by remotes::install_github:

r remotes::install_github("sfcheung/lmhelprs")

Background

Most of the tasks I covered are those sometimes I needed when using the manymome package (Cheung & Cheung, 2023) and and the stdmod package (Cheung, Cheung, Lau, Hui, and Vong, 2022). Therefore, when ready, these two packages will make use of the functions from lmhelprs. However, most of the functions can also be used in other scenarios. Therefore, I named it lmhelprs.

References

  • Cheung, S. F., & Cheung, S.-H. (2023). manymome: An R package for computing the indirect effects, conditional effects, and conditional indirect effects, standardized or unstandardized, and their bootstrap confidence intervals, in many (though not all) models. Behavior Research Methods. https://doi.org/10.3758/s13428-023-02224-z

  • Cheung, S. F., Cheung, S.-H., Lau, E. Y. Y., Hui, C. H., & Vong, W. N. (2022) Improving an old way to measure moderation effect in standardized units. Health Psychology, 41(7), 502-505. https://doi.org/10.1037/hea0001188.

Issues

If you have any suggestions and found any bugs, please feel feel to open a GitHub issue. Thanks.

Owner

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

GitHub Events

Total
  • Release event: 1
  • Delete event: 2
  • Push event: 9
  • Pull request event: 7
  • Create event: 3
Last Year
  • Release event: 1
  • Delete event: 2
  • Push event: 9
  • Pull request event: 7
  • Create event: 3

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 0
  • Total pull requests: 27
  • Average time to close issues: N/A
  • Average time to close pull requests: 38 minutes
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 26
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 15
  • Average time to close issues: N/A
  • Average time to close pull requests: about 1 hour
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 14
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • sfcheung (32)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 717 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 4
  • Total maintainers: 1
cran.r-project.org: lmhelprs

Helper Functions for Linear Model Analysis

  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 717 Last month
Rankings
Forks count: 28.0%
Dependent packages count: 29.0%
Stargazers count: 34.7%
Dependent repos count: 37.0%
Average: 43.1%
Downloads: 86.8%
Maintainers (1)
Last synced: 6 months ago

Dependencies

.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v3 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
DESCRIPTION cran
  • R >= 2.10 depends
  • stats * imports
  • knitr * suggests
  • rmarkdown * suggests
  • tinytest * suggests