car v1.0-4


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. Some of the functions in car will use functions in the MASS package, if it is present; the subsets function graphs objects produced by the regsubsets function in the leaps package. Where relevant, the functions in car are consistent with na.action = na.omit or na.exclude.

Functions in car

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

Last month downloads


Date 2003/4/25
License GPL version 2 or newer
URL, http:/

Include our badge in your README