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.


News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("codingMatrices")

0.3.1 by Bill Venables, 5 months ago


Browse source code at https://github.com/cran/codingMatrices


Authors: Bill Venables


Documentation:   PDF Manual  


GPL (>= 2) license


Imports Matrix, methods, fractional, utils

Depends on stats

Suggests knitr, MASS, dplyr, car, ggplot2


See at CRAN