Learn R Programming

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

car (version 1.2-12)

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

409,655

Version

1.2-12

License

GPL (>= 2)

Maintainer

John Fox

Last Published

September 27th, 2024

Functions in car (1.2-12)

Leinhardt

Data on Infant-Mortality
Can.pop

Canadian Population Data
Angell

Moral Integration of American Cities
Prestige

Prestige of Canadian Occupations
Duncan

Duncan's Occupational Prestige Data
Hartnagel

Canadian Crime-Rates Time Series
Sahlins

Agricultural Production in Mazulu Village
DavisThin

Davis's Data on Drive for Thinness
States

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

Heteroscedasticity-Corrected Covariance Matrices
av.plots

Added-Variable Plots
Adler

Experimenter Expectations
Mandel

Contrived Collinear Data
Ellipses

Ellipses, Data Ellipses, and Confidence Ellipses
Soils

Soil Compositions of Physical and Chemical Characteristics
Var

Variance-Covariance Matrices (deprecated)
Quartet

Four Regression Datasets
n.bins

Number of Bins for Histogram
Womenlf

Canadian Women's Labour-Force Participation
car-internal

Internal car functions
SLID

Survey of Labour and Income Dynamics
Blackmoor

Exercise Histories of Eating-Disordered and Control Subjects
Chile

Voting Intentions in the 1988 Chilean Plebiscite
Florida

Florida County Voting
Ginzberg

Data on Depression
Ask

Change Argument to a Function Interactively
Robey

Fertility and Contraception
qq.plot

Quantile-Comparison Plots
durbin.watson

Durbin-Watson Test for Autocorrelated Errors
Anscombe

U. S. State Public-School Expenditures
Guyer

Anonymity and Cooperation
box.cox.var

Constructed Variable for Box-Cox Transformation
Ericksen

The 1980 U.S. Census Undercount
box.cox.powers

Multivariate Unconditional Box-Cox Transformations
Friendly

Format Effects on Recall
Contrasts

Functions to Construct Contrasts
Cowles

Cowles and Davis's Data on Volunteering
which.names

Position of Row Names
reg.line

Plot Regression Line
Ornstein

Interlocking Directorates Among Major Canadian Firms
Transformation Axes

Axes for Transformed Variables
Cook's Distances

Cook's Distances for Linear and Generalized Linear Models
Moore

Status, Authoritarianism, and Conformity
Freedman

Crowding and Crime in U. S. Metropolitan Areas
Mroz

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

Panel Function Coplots
cr.plots

Component+Residual (Partial Residual) Plots
scatterplot.matrix

Scatterplot Matrices
Vocab

Vocabulary and Education
Pottery

Chemical Composition of Pottery
ceres.plots

Ceres Plots
Anova

Anova Tables for Various Statistical Models
some

Sample a Few Elements of an Object
box.cox

Box-Cox Family of Transformations
Davis

Self-Reports of Height and Weight
scatterplot

Scatterplots with Boxplots
Burt

Fraudulent Data on IQs of Twins Raised Apart
Bfox

Canadian Women's Labour-Force Participation
Chirot

The 1907 Romanian Peasant Rebellion
UN

GDP and Infant Mortality
subsets

Plot Output from regsubsets Function in leaps package
US.pop

Population of the United States
linear.hypothesis

Test Linear Hypothesis
ncv.test

Score Test for Non-Constant Error Variance
recode

Recode a Variable
levene.test

Levene's Test
car-package

Companion to Applied Regression
logit

Logit Transformation
outlier.test

Bonferroni Outlier Test
spread.level.plot

Spread-Level Plots
leverage.plots

Regression Leverage Plots
vif

Variance Inflation Factors
influencPlot

Regression Influence Plot
Greene

Refugee Appeals
Baumann

Methods of Teaching Reading Comprehension
OBrienKaiser

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

Canadian Interprovincial Migration Data
symbox

Boxplots for transformations to symmetry
box.tidwell

Box-Tidwell Transformations