car v1.0-1


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

Last month downloads


Date 2002/9/17
License GPL version 2 or newer
URL, http:/

Include our badge in your README