car v1.2-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. Where relevant, the functions in car are consistent with na.action = na.omit or na.exclude.

Functions in car

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

Last month downloads


Include our badge in your README