car v1.1-0


Monthly downloads



by John Fox

Companion to Applied Regression

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.

Functions in car

Name Description
ncv.test Score Test for Non-Constant Error Variance
Anova Anova Tables for Various Statistical Models
Ask Change Argument to a Function Interactively
Ellipses Ellipses, Data Ellipses, and Confidence Ellipses
box.tidwell Box-Tidwell Transformations
box.cox Box-Cox Family of Transformations
ceres.plots Ceres Plots
influence.plot Regression Influence Plot
Contrasts Functions to Construct Contrasts
durbin.watson Durbin-Watson Test for Autocorrelated Errors
box.cox.var Constructed Variable for Box-Cox Transformation
Cook's Distances Cook's Distances for Linear and Generalized Linear Models
leverage.plots Regression Leverage Plots
box.cox.powers Multivariate Unconditional Box-Cox Transformations
levene.test Levene's Test
hccm Heteroscedasticity-Corrected Covariance Matrices
linear.hypothesis Test Linear Hypothesis Panel Function Coplots
vif Variance Inflation Factors
n.bins Number of Bins for Histogram
subsets Plot Output from regsubsets Function in leaps package
some Sample a Few Elements of an Object
scatterplot.matrix Scatterplot Matrices
reg.line Plot Regression Line
car-package Companion to Applied Regression
which.names Position of Row Names
outlier.test Bonferroni Outlier Test
cr.plots Component+Residual (Partial Residual) Plots
recode Recode a Variable
qq.plot Quantile-Comparison Plots
Var Variance-Covariance Matrices (deprecated)
logit Logit Transformation
spread.level.plot Spread-Level Plots
symbox Boxplots for transformations to symmetry
Transformation Axes Axes for Transformed Variables
car-internal Internal car functions
av.plots Added-Variable Plots
scatterplot Scatterplots with Boxplots
Anscombe U. S. State Public-School Expenditures
Adler Experimenter Expectations
Bfox Canadian Women's Labour-Force Participation
Ornstein Interlocking Directorates Among Major Canadian Firms
Womenlf Canadian Women's Labour-Force Participation
Ginzberg Data on Depression
Robey Fertility and Contraception
Mandel Contrived Collinear Data
Freedman Crowding and Crime in U. S. Metropolitan Areas
Moore Status, Authoritarianism, and Conformity
Chile Voting Intentions in the 1988 Chilean Plebiscite
Baumann Methods of Teaching Reading Comprehension
SLID Survey of Labour and Income Dynamics
Leinhardt Data on Infant-Mortality
UN GDP and Infant Mortality
Prestige Prestige of Canadian Occupations
Blackmoor Exercise Histories of Eating-Disordered and Control Subjects
Mroz U.S. Women's Labor-Force Participation
Hartnagel Canadian Crime-Rates Time Series
Chirot The 1907 Romanian Peasant Rebellion
Ericksen The 1980 U.S. Census Undercount
Davis Self-Reports of Height and Weight
US.pop Population of the United States
Vocab Vocabulary and Education
Guyer Anonymity and Cooperation
Sahlins Agricultural Production in Mazulu Village
Migration Canadian Interprovincial Migration Data
Angell Moral Integration of American Cities
Burt Fraudulent Data on IQs of Twins Raised Apart
Can.pop Canadian Population Data
States Education and Related Statistics for the U.S. States
Duncan Duncan's Occupational Prestige Data
Friendly Format Effects on Recall
Quartet Four Regression Datasets
Cowles Cowles and Davis's Data on Volunteering
Greene Refugee Appeals
DavisThin Davis's Data on Drive for Thinness
Florida Florida County Voting
No Results!

Last month downloads


Include our badge in your README