Learn R Programming

codingMatrices (version 0.4.0)

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

392

Version

0.4.0

License

GPL (>= 2)

Maintainer

Last Published

February 1st, 2023

Functions in codingMatrices (0.4.0)

mean_contrasts

Display contrasts
Codings

Coding matrix functions for factors in linear model formulae