Crandore Hub

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.

Versions across snapshots

VersionRepositoryFileSize
0.4.0 2026-04-09 windows/windows R-4.5 codingMatrices_0.4.0.zip 232.2 KiB

Dependencies (latest)

Depends

Imports

Suggests