Skip to content

cwendorf/CALM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

131 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contrast Algorithms for Linear Models

minimal R version License: 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

if (!require(remotes)) 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 this R command:

source("http://raw.githubusercontent.com/cwendorf/CALM/main/source-CALM.R")

Usage

This package includes the following documentation:

  • Introduction: Overview of the package and links to all resources.
  • Reference: Documentation for all exported functions, including usage, arguments, and return values.
  • Articles: Examples demonstrating how to use the package.

Contact

Citation

Wendorf, C.A. (2021). CALM: Contrast Algorithms for Linear Models [R Package]. https://github.com/cwendorf/CALM

About

Contrast Algorithms for Linear Models [R Package]

Topics

Resources

Stars

Watchers

Forks

Releases

Contributors

Languages