car v1.0-17


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

Last month downloads


Include our badge in your README