car v1.0-3


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

Last month downloads


Date 2003/3/29
License GPL version 2 or newer
URL, http:/

Include our badge in your README