Learn R Programming

MASS (version 7.3-66)

Support Functions and Datasets for Venables and Ripley's MASS

Description

Functions and datasets to support Venables and Ripley, "Modern Applied Statistics with S" (4th edition, 2002).

Copy Link

Version

Install

install.packages('MASS')

Monthly Downloads

178,572

Version

7.3-66

License

GPL-2 | GPL-3

Maintainer

Brian Ripley

Last Published

July 15th, 2026

Functions in MASS (7.3-66)

biopsy

Biopsy Data on Breast Cancer Patients
addterm

Try All One-Term Additions to a Model
beav1

Body Temperature Series of Beaver 1
caith

Colours of Eyes and Hair of People in Caithness
beav2

Body Temperature Series of Beaver 2
cement

Heat Evolved by Setting Cements
deaths

Monthly Deaths from Lung Diseases in the UK
crabs

Morphological Measurements on Leptograpsus Crabs
chem

Copper in Wholemeal Flour
drivers

Deaths of Car Drivers in Great Britain 1969-84
cpus

Performance of Computer CPUs
abbey

Determinations of Nickel Content
eqscplot

Plots with Geometrically Equal Scales
farms

Ecological Factors in Farm Management
corresp

Simple Correspondence Analysis
galaxies

Velocities for 82 Galaxies
gamma.dispersion

Calculate the MLE of the Gamma Dispersion Parameter in a GLM Fit
geyser

Old Faithful Geyser Data
anorexia

Anorexia Data on Weight Change
cov.trob

Covariance Estimation for Multivariate t Distribution
dropterm

Try All One-Term Deletions from a Model
cats

Anatomical Data from Domestic Cats
genotype

Rat Genotype Data
cov.rob

Resistant Estimation of Multivariate Location and Scatter
cabbages

Data from a cabbage field trial
hills

Record Times in Scottish Hill Races
birthwt

Risk Factors Associated with Low Infant Birth Weight
housing

Frequency Table from a Copenhagen Housing Conditions Survey
area

Adaptive Numerical Integration
ginv

Generalized Inverse of a Matrix
gilgais

Line Transect of Soil in Gilgai Territory
contr.sdif

Successive Differences Contrast Coding
bacteria

Presence of Bacteria after Drug Treatments
huber

Huber M-estimator of Location with MAD Scale
anova.negbin

Likelihood Ratio Tests for Negative Binomial GLMs
hist.scott

Plot a Histogram with Automatic Bin Width Selection
boxcox

Box-Cox Transformations for Linear Models
fitdistr

Maximum-likelihood Fitting of Univariate Distributions
con2tr

Convert Lists to Data Frames for use by lattice
coop

Co-operative Trial in Analytical Chemistry
eagles

Foraging Ecology of Bald Eagles
hubers

Huber Proposal 2 Robust Estimator of Location and/or Scale
glmmPQL

Fit Generalized Linear Mixed Models via PQL
fgl

Measurements of Forensic Glass Fragments
immer

Yields from a Barley Field Trial
lm.gls

Fit Linear Models by Generalized Least Squares
epil

Seizure Counts for Epileptics
leuk

Survival Times and White Blood Counts for Leukaemia Patients
lm.ridge

Ridge Regression
gehan

Remission Times of Leukaemia Patients
confint-MASS

Confidence Intervals for Model Parameters
isoMDS

Kruskal's Non-metric Multidimensional Scaling
gamma.shape

Estimate the Shape Parameter of the Gamma Distribution in a GLM Fit
ldahist

Histograms or Density Plots of Multiple Groups
glm.convert

Change a Negative Binomial fit to a GLM fit
glm.nb

Fit a Negative Binomial Generalized Linear Model
forbes

Forbes' Data on Boiling Points in the Alps
minn38

Minnesota High School Graduates of 1938
mcycle

Data from a Simulated Motorcycle Accident
mca

Multiple Correspondence Analysis
kde2d

Two-Dimensional Kernel Density Estimation
mammals

Brain and Body Weights for 62 Species of Land Mammals
fractions

Rational Approximation
denumerate

Transform an Allowable Formula for 'loglm' into one for 'terms'
michelson

Michelson's Speed of Light Data
menarche

Age of Menarche in Warsaw
loglm1

Fit Log-Linear Models by Iterative Proportional Scaling -- Internal function
muscle

Effect of Calcium Chloride on Muscle Contraction in Rat Hearts
motors

Accelerated Life Testing of Motorettes
dose.p

Predict Doses for Binomial Assay model
loglm

Fit Log-Linear Models by Iterative Proportional Scaling
logtrans

Estimate log Transformation Parameter
lqs

Resistant Regression
newcomb

Newcomb's Measurements of the Passage Time of Light
npr1

US Naval Petroleum Reserve No. 1 data
painters

The Painter's Data of de Piles
oats

Data from an Oats Field Trial
lda

Linear Discriminant Analysis
pairs.lda

Produce Pairwise Scatterplots from an 'lda' Fit
npk

Classical N, P, K Factorial Experiment
parcoord

Parallel Coordinates Plot
mvrnorm

Simulate from a Multivariate Normal Distribution
Belgian-phones

Belgium Phone Calls 1950-1973
nlschools

Eighth-Grade Pupils in the Netherlands
predict.lda

Classify Multivariate Observations by Linear Discrimination
predict.qda

Classify from Quadratic Discriminant Analysis
petrol

N. L. Prater's Petrol Refinery Data
plot.lda

Plot Method for Class 'lda'
predict.lqs

Predict from an lqs Fit
predict.glmmPQL

Predict Method for glmmPQL Fits
polr

Ordered Logistic or Probit Regression
predict.mca

Predict Method for Class 'mca'
plot.mca

Plot Method for Objects of Class 'mca'
negative.binomial

Family function for Negative Binomial GLMs
rnegbin

Simulate Negative Binomial Variates
renumerate

Convert a Formula Transformed by 'denumerate'
rms.curv

Relative Curvature Measures for Non-Linear Regression
rotifer

Numbers of Rotifers by Fluid Density
road

Road Accident Deaths in US States
rlm

Robust Fitting of Linear Models
stdres

Extract Standardized Residuals from a Linear Model
quine

Absenteeism from School in Rural New South Wales
snails

Snail Mortality Data
rational

Rational Approximation
shuttle

Space Shuttle Autolander Problem
shoes

Shoe wear data of Box, Hunter and Hunter
qda

Quadratic Discriminant Analysis
profile.glm

Method for Profiling glm Objects
shrimp

Percentage of Shrimp in Shrimp Cocktail
steam

The Saturated Steam Pressure Data
ships

Ships Damage Data
sammon

Sammon's Non-Linear Mapping
theta.md

Estimate theta of the Negative Binomial
survey

Student Survey Data
synth.tr

Synthetic Classification Problem
topo

Spatial Topographic Data
wtloss

Weight Loss Data from an Obese Patient
summary.loglm

Summary Method Function for Objects of Class 'loglm'
width.SJ

Bandwidth Selection by Pilot Estimation of Derivatives
studres

Extract Studentized Residuals from a Linear Model
summary.negbin

Summary Method Function for Objects of Class 'negbin'
summary.rlm

Summary Method for Robust Linear Models
waders

Counts of Waders at 15 Sites in South Africa
whiteside

House Insulation: Whiteside's Data
write.matrix

Write a Matrix or Data Frame
stormer

The Stormer Viscometer Data
stepAIC

Choose a model by AIC in a Stepwise Algorithm
ucv

Unbiased Cross-Validation for Bandwidth Selection
truehist

Plot a Histogram