A Collection of Contrast Methods

One degree of freedom contrasts for 'lm', 'glm', 'gls', and 'geese' objects.


R build status Coverage Status CRAN_Status_Badge Downloads Lifecycle: stable

contrast contains a set of functions that can make 1 degree of freedom contrasts for several type sof models. The package extends the contrast() function from the rms package.

To install it, use:

install.packages("contrast")

## For the devel version:
require(devtools)
install_github("Alanocallaghan/contrast")

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("contrast")

0.24.2 by Alan O'Callaghan, 4 years ago


https://github.com/Alanocallaghan/contrast


Report a bug at https://github.com/Alanocallaghan/contrast/issues


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


Authors: Alan O'Callaghan [cre] , Max Kuhn [aut] , Steve Weston [aut] , Jed Wing [aut] , James Forester [aut] , Thorn Thaler [aut]


Documentation:   PDF Manual  


GPL-2 license


Imports nlme, sandwich, rms

Suggests knitr, kableExtra, dplyr, ggplot2, tidyr, rmarkdown, testthat, covr, geepack, splines


See at CRAN