Learn R Programming

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

car (version 1.2-5)

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-5

License

GPL (>= 2)

Maintainer

John Fox

Last Published

February 3rd, 2026

Functions in car (1.2-5)

scatterplot.matrix

Scatterplot Matrices
Sahlins

Agricultural Production in Mazulu Village
Ellipses

Ellipses, Data Ellipses, and Confidence Ellipses
qq.plot

Quantile-Comparison Plots
Adler

Experimenter Expectations
Leinhardt

Data on Infant-Mortality
Greene

Refugee Appeals
outlier.test

Bonferroni Outlier Test
Womenlf

Canadian Women's Labour-Force Participation
Duncan

Duncan's Occupational Prestige Data
Robey

Fertility and Contraception
Florida

Florida County Voting
Guyer

Anonymity and Cooperation
ceres.plots

Ceres Plots
logit

Logit Transformation
Transformation Axes

Axes for Transformed Variables
Cook's Distances

Cook's Distances for Linear and Generalized Linear Models
box.cox.var

Constructed Variable for Box-Cox Transformation
Baumann

Methods of Teaching Reading Comprehension
SLID

Survey of Labour and Income Dynamics
av.plots

Added-Variable Plots
Freedman

Crowding and Crime in U. S. Metropolitan Areas
levene.test

Levene's Test
Bfox

Canadian Women's Labour-Force Participation
recode

Recode a Variable
UN

GDP and Infant Mortality
influencPlot

Regression Influence Plot
Migration

Canadian Interprovincial Migration Data
Cowles

Cowles and Davis's Data on Volunteering
Angell

Moral Integration of American Cities
ncv.test

Score Test for Non-Constant Error Variance
DavisThin

Davis's Data on Drive for Thinness
car-package

Companion to Applied Regression
box.tidwell

Box-Tidwell Transformations
Anscombe

U. S. State Public-School Expenditures
Burt

Fraudulent Data on IQs of Twins Raised Apart
Friendly

Format Effects on Recall
symbox

Boxplots for transformations to symmetry
cr.plots

Component+Residual (Partial Residual) Plots
subsets

Plot Output from regsubsets Function in leaps package
box.cox

Box-Cox Family of Transformations
Mroz

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

Contrived Collinear Data
Vocab

Vocabulary and Education
Davis

Self-Reports of Height and Weight
Can.pop

Canadian Population Data
durbin.watson

Durbin-Watson Test for Autocorrelated Errors
Prestige

Prestige of Canadian Occupations
which.names

Position of Row Names
Var

Variance-Covariance Matrices (deprecated)
OBrienKaiser

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

Canadian Crime-Rates Time Series
Ericksen

The 1980 U.S. Census Undercount
panel.car

Panel Function Coplots
Anova

Anova Tables for Various Statistical Models
Ornstein

Interlocking Directorates Among Major Canadian Firms
Ginzberg

Data on Depression
Chile

Voting Intentions in the 1988 Chilean Plebiscite
reg.line

Plot Regression Line
Contrasts

Functions to Construct Contrasts
Pottery

Chemical Composition of Pottery
box.cox.powers

Multivariate Unconditional Box-Cox Transformations
scatterplot

Scatterplots with Boxplots
Ask

Change Argument to a Function Interactively
leverage.plots

Regression Leverage Plots
vif

Variance Inflation Factors
Soils

Soil Compositions of Physical and Chemical Characteristics
n.bins

Number of Bins for Histogram
spread.level.plot

Spread-Level Plots
Chirot

The 1907 Romanian Peasant Rebellion
Blackmoor

Exercise Histories of Eating-Disordered and Control Subjects
US.pop

Population of the United States
States

Education and Related Statistics for the U.S. States
car-internal

Internal car functions
linear.hypothesis

Test Linear Hypothesis
Moore

Status, Authoritarianism, and Conformity
Quartet

Four Regression Datasets
hccm

Heteroscedasticity-Corrected Covariance Matrices
some

Sample a Few Elements of an Object