car v1.0-11


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

Last month downloads


Include our badge in your README