car v1.0-18


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

Last month downloads


Include our badge in your README