car v1.0-7


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

Last month downloads


Include our badge in your README