codingMatrices: Alternative Factor Coding Matrices for Linear Model Formulae

A collection of coding functions as alternatives to the standard functions in the stats package, which have names starting with 'contr.'. Their main advantage is that they provide a consistent method for defining marginal effects in factorial models. In a simple one-way ANOVA model the intercept term is always the simple average of the class means.

Version: 0.4.0
Depends: R (≥ 3.5.0), stats
Imports: Matrix, methods, fractional, utils
Suggests: knitr, MASS, dplyr, car, ggplot2, xtable
Published: 2023-02-01
DOI: 10.32614/CRAN.package.codingMatrices
Author: Bill Venables
Maintainer: Bill Venables <Bill.Venables at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: no
CRAN checks: codingMatrices results


Reference manual: codingMatrices.pdf
Vignettes: Coding and Contrast Matrices


Package source: codingMatrices_0.4.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): codingMatrices_0.4.0.tgz, r-oldrel (arm64): codingMatrices_0.4.0.tgz, r-release (x86_64): codingMatrices_0.4.0.tgz, r-oldrel (x86_64): codingMatrices_0.4.0.tgz
Old sources: codingMatrices archive

Reverse dependencies:

Reverse imports: autonomics


Please use the canonical form to link to this page.