car v1.0-16


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

Last month downloads


Include our badge in your README