Learn R Programming

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

car (version 1.2-8)

Companion to Applied Regression

Description

This package accompanies J. Fox, An R and S-PLUS Companion to Applied Regression, Sage, 2002. The package contains mostly functions for applied regression, linear models, and generalized linear models, with an emphasis on regression diagnostics, particularly graphical diagnostic methods. There are also some utility functions. With some exceptions, I have tried not to duplicate capabilities in the basic distribution of R, nor in widely used packages. Where relevant, the functions in car are consistent with na.action = na.omit or na.exclude.

Copy Link

Version

Install

install.packages('car')

Monthly Downloads

419,564

Version

1.2-8

License

GPL (>= 2)

Maintainer

John Fox

Last Published

February 3rd, 2026

Functions in car (1.2-8)

Ericksen

The 1980 U.S. Census Undercount
Baumann

Methods of Teaching Reading Comprehension
OBrienKaiser

O'Brien and Kaiser's Repeated-Measures Data
recode

Recode a Variable
Burt

Fraudulent Data on IQs of Twins Raised Apart
spread.level.plot

Spread-Level Plots
durbin.watson

Durbin-Watson Test for Autocorrelated Errors
Angell

Moral Integration of American Cities
scatterplot

Scatterplots with Boxplots
Duncan

Duncan's Occupational Prestige Data
Contrasts

Functions to Construct Contrasts
box.cox.powers

Multivariate Unconditional Box-Cox Transformations
hccm

Heteroscedasticity-Corrected Covariance Matrices
Freedman

Crowding and Crime in U. S. Metropolitan Areas
Florida

Florida County Voting
Anova

Anova Tables for Various Statistical Models
SLID

Survey of Labour and Income Dynamics
Vocab

Vocabulary and Education
logit

Logit Transformation
Chirot

The 1907 Romanian Peasant Rebellion
Mroz

U.S. Women's Labor-Force Participation
Ginzberg

Data on Depression
Chile

Voting Intentions in the 1988 Chilean Plebiscite
Moore

Status, Authoritarianism, and Conformity
influencPlot

Regression Influence Plot
Transformation Axes

Axes for Transformed Variables
DavisThin

Davis's Data on Drive for Thinness
Greene

Refugee Appeals
Prestige

Prestige of Canadian Occupations
ncv.test

Score Test for Non-Constant Error Variance
Leinhardt

Data on Infant-Mortality
Migration

Canadian Interprovincial Migration Data
Blackmoor

Exercise Histories of Eating-Disordered and Control Subjects
Robey

Fertility and Contraception
UN

GDP and Infant Mortality
av.plots

Added-Variable Plots
Can.pop

Canadian Population Data
Hartnagel

Canadian Crime-Rates Time Series
Soils

Soil Compositions of Physical and Chemical Characteristics
box.cox.var

Constructed Variable for Box-Cox Transformation
car-package

Companion to Applied Regression
Ellipses

Ellipses, Data Ellipses, and Confidence Ellipses
n.bins

Number of Bins for Histogram
Mandel

Contrived Collinear Data
Cowles

Cowles and Davis's Data on Volunteering
subsets

Plot Output from regsubsets Function in leaps package
box.tidwell

Box-Tidwell Transformations
States

Education and Related Statistics for the U.S. States
Anscombe

U. S. State Public-School Expenditures
Pottery

Chemical Composition of Pottery
Var

Variance-Covariance Matrices (deprecated)
car-internal

Internal car functions
cr.plots

Component+Residual (Partial Residual) Plots
scatterplot.matrix

Scatterplot Matrices
ceres.plots

Ceres Plots
Davis

Self-Reports of Height and Weight
some

Sample a Few Elements of an Object
Cook's Distances

Cook's Distances for Linear and Generalized Linear Models
levene.test

Levene's Test
Guyer

Anonymity and Cooperation
Friendly

Format Effects on Recall
outlier.test

Bonferroni Outlier Test
vif

Variance Inflation Factors
Ornstein

Interlocking Directorates Among Major Canadian Firms
qq.plot

Quantile-Comparison Plots
box.cox

Box-Cox Family of Transformations
symbox

Boxplots for transformations to symmetry
Sahlins

Agricultural Production in Mazulu Village
reg.line

Plot Regression Line
Adler

Experimenter Expectations
Ask

Change Argument to a Function Interactively
Bfox

Canadian Women's Labour-Force Participation
Quartet

Four Regression Datasets
US.pop

Population of the United States
leverage.plots

Regression Leverage Plots
linear.hypothesis

Test Linear Hypothesis
panel.car

Panel Function Coplots
which.names

Position of Row Names
Womenlf

Canadian Women's Labour-Force Participation