Learn R Programming

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

car (version 1.0-15)

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.0-15

License

GPL version 2 or newer

Maintainer

John Fox

Last Published

February 3rd, 2026

Functions in car (1.0-15)

Transformation Axes

Axes for Transformed Variables
Ellipses

Ellipses, Data Ellipses, and Confidence Ellipses
cr.plots

Component+Residual (Partial Residual) Plots
levene.test

Levene's Test
panel.car

Panel Function Coplots
some

Sample a Few Elements of an Object
Anova

Anova Tables for Linear and Generalized Linear Models
outlier.test

Bonferroni Outlier Test
box.cox

Box-Cox Family of Transformations
box.tidwell

Box-Tidwell Transformations
linear.hypothesis

Test Linear Hypothesis
Contrasts

Functions to Construct Contrasts
box.cox.powers

Multivariate Unconditional Box-Cox Transformations
Ask

Change Argument to a Function Interactively
leverage.plots

Regression Leverage Plots
av.plots

Added-Variable Plots
scatterplot

Scatterplots with Boxplots
hccm

Heteroscedasticity-Corrected Covariance Matrices
Cook's Distances

Cook's Distances for Linear and Generalized Linear Models
recode

Recode a Variable
reg.line

Plot Regression Line
vif

Variance Inflation Factors
Var

Variance-Covariance Matrices (deprecated)
subsets

Plot Output from regsubsets Function in leaps package
durbin.watson

Durbin-Watson Test for Autocorrelated Errors
spread.level.plot

Spread-Level Plots
ncv.test

Score Test for Non-Constant Error Variance
n.bins

Number of Bins for Histogram
scatterplot.matrix

Scatterplot Matrices
car-internal

Internal car functions
box.cox.var

Constructed Variable for Box-Cox Transformation
ceres.plots

Ceres Plots
influence.plot

Regression Influence Plot
logit

Logit Transformation
which.names

Position of Row Names
qq.plot

Quantile-Comparison Plots
symbox

Boxplots for transformations to symmetry
Prestige

Prestige of Canadian Occupations
Guyer

Anonymity and Cooperation
Chile

Voting Intentions in the 1988 Chilean Plebiscite
Mroz

U.S. Women's Labor-Force Participation
Can.pop

Canadian Population Data
Cowles

Cowles and Davis's Data on Volunteering
Friendly

Format Effects on Recall
Vocab

Vocabulary and Education
US.pop

Population of the United States
Leinhardt

Data on Infant-Mortality
Robey

Fertility and Contraception
Ornstein

Interlocking Directorates Among Major Canadian Firms
Baumann

Methods of Teaching Reading Comprehension
Chirot

The 1907 Romanian Peasant Rebellion
Greene

Refugee Appeals
Migration

Canadian Interprovincial Migration Data
Davis

Self-Reports of Height and Weight
Hartnagel

Canadian Crime-Rates Time Series
Florida

Florida County Voting
Freedman

Crowding and Crime in U. S. Metropolitan Areas
Duncan

Duncan's Occupational Prestige Data
UN

GDP and Infant Mortality
Mandel

Contrived Collinear Data
Ginzberg

Data on Depression
Quartet

Four Regression Datasets
Womenlf

Canadian Women's Labour-Force Participation
States

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

Exercise Histories of Eating-Disordered and Control Subjects
SLID

Survey of Labour and Income Dynamics
Anscombe

U. S. State Public-School Expenditures
Angell

Moral Integration of American Cities
Burt

Fraudulent Data on IQs of Twins Raised Apart
DavisThin

Davis's Data on Drive for Thinness
Ericksen

The 1980 U.S. Census Undercount
Sahlins

Agricultural Production in Mazulu Village
Moore

Status, Authoritarianism, and Conformity
Adler

Experimenter Expectations
Bfox

Canadian Women's Labour-Force Participation