car v1.0-9


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

Last month downloads


Include our badge in your README