Learn R Programming

⚠️There's a newer version (3.1-3) of this package.Take me there.

car (version 1.2-15)

Companion to Applied Regression

Description

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.

Copy Link

Version

Install

install.packages('car')

Monthly Downloads

395,928

Version

1.2-15

License

GPL (>= 2)

Maintainer

John Fox

Last Published

August 25th, 2009

Functions in car (1.2-15)

Anscombe

U. S. State Public-School Expenditures
Contrasts

Functions to Construct Contrasts
Adler

Experimenter Expectations
vif

Variance Inflation Factors
Mandel

Contrived Collinear Data
box.cox.var

Constructed Variable for Box-Cox Transformation
Vocab

Vocabulary and Education
Chirot

The 1907 Romanian Peasant Rebellion
spread.level.plot

Spread-Level Plots
Womenlf

Canadian Women's Labour-Force Participation
Baumann

Methods of Teaching Reading Comprehension
car-package

Companion to Applied Regression
scatterplot.matrix

Scatterplot Matrices
Ginzberg

Data on Depression
Cowles

Cowles and Davis's Data on Volunteering
Chile

Voting Intentions in the 1988 Chilean Plebiscite
av.plots

Added-Variable Plots
Transformation Axes

Axes for Transformed Variables
Blackmoor

Exercise Histories of Eating-Disordered and Control Subjects
linear.hypothesis

Test Linear Hypothesis
Davis

Self-Reports of Height and Weight
Ornstein

Interlocking Directorates Among Major Canadian Firms
scatterplot

Scatterplots with Boxplots
Quartet

Four Regression Datasets
qq.plot

Quantile-Comparison Plots
reg.line

Plot Regression Line
Sahlins

Agricultural Production in Mazulu Village
Duncan

Duncan's Occupational Prestige Data
hccm

Heteroscedasticity-Corrected Covariance Matrices
which.names

Position of Row Names
n.bins

Number of Bins for Histogram
influencPlot

Regression Influence Plot
OBrienKaiser

O'Brien and Kaiser's Repeated-Measures Data
Ask

Change Argument to a Function Interactively
recode

Recode a Variable
Moore

Status, Authoritarianism, and Conformity
box.cox.powers

Multivariate Unconditional Box-Cox Transformations
Angell

Moral Integration of American Cities
durbin.watson

Durbin-Watson Test for Autocorrelated Errors
subsets

Plot Output from regsubsets Function in leaps package
Can.pop

Canadian Population Data
Robey

Fertility and Contraception
Florida

Florida County Voting
Pottery

Chemical Composition of Pottery
some

Sample a Few Elements of an Object
Bfox

Canadian Women's Labour-Force Participation
Ericksen

The 1980 U.S. Census Undercount
Leinhardt

Data on Infant-Mortality
Migration

Canadian Interprovincial Migration Data
cr.plots

Component+Residual (Partial Residual) Plots
logit

Logit Transformation
ceres.plots

Ceres Plots
outlier.test

Bonferroni Outlier Test
Mroz

U.S. Women's Labor-Force Participation
panel.car

Panel Function Coplots
leverage.plots

Regression Leverage Plots
SLID

Survey of Labour and Income Dynamics
Soils

Soil Compositions of Physical and Chemical Characteristics
Cook's Distances

Cook's Distances for Linear and Generalized Linear Models
Guyer

Anonymity and Cooperation
Burt

Fraudulent Data on IQs of Twins Raised Apart
car-internal

Internal car functions
levene.test

Levene's Test
Freedman

Crowding and Crime in U. S. Metropolitan Areas
ncv.test

Score Test for Non-Constant Error Variance
Hartnagel

Canadian Crime-Rates Time Series
US.pop

Population of the United States
UN

GDP and Infant Mortality
States

Education and Related Statistics for the U.S. States
Anova

Anova Tables for Various Statistical Models
Var

Variance-Covariance Matrices (deprecated)
box.tidwell

Box-Tidwell Transformations
Prestige

Prestige of Canadian Occupations
Friendly

Format Effects on Recall
symbox

Boxplots for transformations to symmetry
DavisThin

Davis's Data on Drive for Thinness
Greene

Refugee Appeals
box.cox

Box-Cox Family of Transformations
Ellipses

Ellipses, Data Ellipses, and Confidence Ellipses