Learn R Programming

⚠️There's a newer version (0.4.0) of this package.Take me there.

codingMatrices (version 0.3.2)

Alternative Factor Coding Matrices for Linear Model Formulae

Description

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.

Copy Link

Version

Install

install.packages('codingMatrices')

Monthly Downloads

4,384

Version

0.3.2

License

GPL (>= 2)

Maintainer

Bill Venables

Last Published

February 18th, 2018

Functions in codingMatrices (0.3.2)

Codings

Coding matrix functions for factors in linear model formulae
mean_contrasts

Display contrasts