Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cwendorf/calm
Contrast Algorithms for Linear Models [R Package]
https://github.com/cwendorf/calm
calm contrasts r r-package statistics
Last synced: 6 days ago
JSON representation
Contrast Algorithms for Linear Models [R Package]
- Host: GitHub
- URL: https://github.com/cwendorf/calm
- Owner: cwendorf
- License: other
- Created: 2021-08-08T14:15:57.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-29T10:09:55.000Z (about 1 year ago)
- Last Synced: 2023-10-29T11:21:01.646Z (about 1 year ago)
- Topics: calm, contrasts, r, r-package, statistics
- Language: R
- Homepage:
- Size: 624 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `CALM`
## Contrast Algorithms for Linear Models
[![minimal R version](https://img.shields.io/badge/R%3E%3D-3.6.2-6666ff.svg)](https://cran.r-project.org/)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)### Overview
**CALM** is an R package for creating and interpreting contrast codes for linear models. It is an extension of the built-in contrast specifications in R and inspired by Venables's **codingMatrices** package, but it includes codes not available in other packages. In addition to providing contrast specifications, it includes functions for directly converting hypothesized differences (contrasts) into linear model codes (and vice versa).
### Installation
This package is not currently on CRAN, but can be installed and loaded using these R commands
``` r
install.packages("remotes")
remotes::install_github("cwendorf/CALM")
library(CALM)
```If you do not wish a full install, the latest functions can be made available using these R commands:
```r
source("http://raw.githubusercontent.com/cwendorf/CALM/main/source-CALM.R")
```### Usage
The [Tutorials for CALM](./docs/README.md) provide basic documentation and examples of:
- Extracting hypotheses from existing coding patterns
- Producing codes from contrast hypotheses
- Using predefined and custom codes in linear models### Contact Me
- GitHub Issues: [https://github.com/cwendorf/CALM/issues](https://github.com/cwendorf/CALM/issues)
- Author Email: [[email protected]](mailto:[email protected])
- Author Homepage: [https://cwendorf.github.io](https://cwendorf.github.io)### Citation
Wendorf, C.A. (2021). *CALM: Contrast Algorithms for Linear Models* [R Package]. [https://github.com/cwendorf/CALM](https://github.com/cwendorf/CALM)