Alternative Factor Coding Matrices for Linear Model Formulae
Overview
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.
Install
Health
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Bill Venables <Bill.Venables@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Bill",
family = "Venables",
role = c("aut", "cre"),
email = "bill.venables@gmail.com")
as necessary.- NOTE11 OK, 2 NOTE2026-06-09
- ERROR11 OK, 1 NOTE, 1 ERROR2026-06-08
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 2
- Examples that run
- 100%2 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 75%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Dependencies
Installing codingMatrices adds 2 packages (2 with compiled code, 1.9 MB of source tarballs). Heaviest: Rcpp 1.8 MB, fractional 105 KB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.4.0Latest
- 0.3.42022-05-03 · diff ↗
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 0.3.32021-02-08 · diff ↗
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- unarchivedReturned to CRAN2018-02-18
- 0.3.22018-02-18 · diff ↗
- archivedRemoved from CRAN2018-02-01check errors were not corrected despite reminders Errors included undeclared use of package(s) in vignettes
- 0.3.12017-05-05 · diff ↗
Package metadata
- First published
- 2016-02-10
- Total releases
- 10 / 10 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.5.0
- Download size
- 233 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("codingMatrices")Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.