Learn R Programming

gmodels

Tools for fitting linear models that complement those in base R.

Provided functions include:

  • ci - Compute Confidence Intervals
  • coefFrame - Return model parameters in a data frame
  • CrossTable - Cross Tabulation with Tests for Factor Independence
  • estimable - Compute contrasts and estimable linear functions
  • fast.prcomp - Efficient computation of principal components and singular value decomposition
  • fit.contrast - Compute and test arbitrary contrasts for regression objects
  • glh.test - Test a General Linear Hypothesis for a Regression Model
  • make.contrasts - Construct a User-Specified Contrast Matrix

Installation

Install the released version of gmodels from CRAN with:

install.packages('gmodels')

Install the development version of gmodels from GitHub with:

# install.packages("devtools")
devtools::install_github("r-gregmisc/gmodels")

Copy Link

Version

Install

install.packages('gmodels')

Monthly Downloads

28,124

Version

2.19.1

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

the of this package were written by Gregory R. Warnes

Last Published

March 6th, 2024

Functions in gmodels (2.19.1)

estimable

Contrasts and estimable linear functions of model coefficients
coefFrame

Return model parameters in a data frame
CrossTable

Cross Tabulation with Tests for Factor Independence
ci

Compute Confidence Intervals
glh.test

Test a General Linear Hypothesis for a Regression Model
.to.est

Return a vector for cm in estimable()
fast.prcomp

Efficient computation of principal components and singular value decompositions.
fit.contrast

Compute and test arbitrary contrasts for regression objects
make.contrasts

Construct a User-Specified Contrast Matrix
est_p_ci

Display estimate, confidence interval and p-value for one model term