Package: codingMatrices 0.4.0

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.

Authors:Bill Venables

codingMatrices_0.4.0.tar.gz
codingMatrices_0.4.0.zip(r-4.7)codingMatrices_0.4.0.zip(r-4.6)codingMatrices_0.4.0.zip(r-4.5)
codingMatrices_0.4.0.tgz(r-4.6-any)codingMatrices_0.4.0.tgz(r-4.5-any)
codingMatrices_0.4.0.tar.gz(r-4.7-any)codingMatrices_0.4.0.tar.gz(r-4.6-any)
codingMatrices_0.4.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
codingMatrices/json (API)

# Install 'codingMatrices' in R:
install.packages('codingMatrices', repos = c('https://billvenables.r-universe.dev', 'https://cloud.r-project.org'))

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

3.33 score 1 packages 17 scripts 4.2k downloads 11 exports 4 dependencies

Last updated from:fb3662b5aa. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK140
source / vignettesOK244
linux-release-x86_64OK143
macos-release-arm64OK140
macos-oldrel-arm64OK127
windows-develOK87
windows-releaseOK94
windows-oldrelOK82
wasm-releaseOK110

Exports:code_controlcode_control_lastcode_deviationcode_deviation_firstcode_diffcode_diff_forwardcode_helmertcode_helmert_forwardcode_polycontr.diffmean_contrasts

Dependencies:fractionallatticeMatrixRcpp

Coding and Contrast Matrices

Rendered fromcodingMatrices.Rnwusingknitr::knitron May 12 2026.

Last update: 2023-02-01
Started: 2016-02-15

Readme and manuals

Help Manual

Help pageTopics
Coding matrix functions for factors in linear model formulaecode_control code_control_last code_deviation code_deviation_first code_diff code_diff_forward code_helmert code_helmert_forward code_poly Codings contr.diff
Display contrastsmean_contrasts