Learn R Programming

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

car (version 1.2-0)

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

531,516

Version

1.2-0

License

GPL version 2 or newer

Maintainer

John Fox

Last Published

September 27th, 2024

Functions in car (1.2-0)

Ellipses

Ellipses, Data Ellipses, and Confidence Ellipses
leverage.plots

Regression Leverage Plots
reg.line

Plot Regression Line
Ask

Change Argument to a Function Interactively
Transformation Axes

Axes for Transformed Variables
recode

Recode a Variable
cr.plots

Component+Residual (Partial Residual) Plots
box.cox.var

Constructed Variable for Box-Cox Transformation
Var

Variance-Covariance Matrices (deprecated)
Pottery

Chemical Composition of Pottery
some

Sample a Few Elements of an Object
ncv.test

Score Test for Non-Constant Error Variance
ceres.plots

Ceres Plots
spread.level.plot

Spread-Level Plots
influence.plot

Regression Influence Plot
n.bins

Number of Bins for Histogram
Soils

Soil Compositions of Physical and Chemical Characteristics
qq.plot

Quantile-Comparison Plots
symbox

Boxplots for transformations to symmetry
car-internal

Internal car functions
av.plots

Added-Variable Plots
vif

Variance Inflation Factors
linear.hypothesis

Test Linear Hypothesis
scatterplot

Scatterplots with Boxplots
box.cox

Box-Cox Family of Transformations
subsets

Plot Output from regsubsets Function in leaps package
Cook's Distances

Cook's Distances for Linear and Generalized Linear Models
hccm

Heteroscedasticity-Corrected Covariance Matrices
which.names

Position of Row Names
Anova

Anova Tables for Various Statistical Models
car-package

Companion to Applied Regression
durbin.watson

Durbin-Watson Test for Autocorrelated Errors
OBrienKaiser

O'Brien and Kaiser's Repeated-Measures Data
scatterplot.matrix

Scatterplot Matrices
outlier.test

Bonferroni Outlier Test
levene.test

Levene's Test
box.tidwell

Box-Tidwell Transformations
box.cox.powers

Multivariate Unconditional Box-Cox Transformations
logit

Logit Transformation
panel.car

Panel Function Coplots
Contrasts

Functions to Construct Contrasts
Freedman

Crowding and Crime in U. S. Metropolitan Areas
Ginzberg

Data on Depression
Friendly

Format Effects on Recall
Burt

Fraudulent Data on IQs of Twins Raised Apart
Greene

Refugee Appeals
SLID

Survey of Labour and Income Dynamics
Baumann

Methods of Teaching Reading Comprehension
Leinhardt

Data on Infant-Mortality
Davis

Self-Reports of Height and Weight
Florida

Florida County Voting
Sahlins

Agricultural Production in Mazulu Village
Guyer

Anonymity and Cooperation
States

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

Contrived Collinear Data
Ornstein

Interlocking Directorates Among Major Canadian Firms
Anscombe

U. S. State Public-School Expenditures
Vocab

Vocabulary and Education
Bfox

Canadian Women's Labour-Force Participation
Ericksen

The 1980 U.S. Census Undercount
Migration

Canadian Interprovincial Migration Data
UN

GDP and Infant Mortality
Robey

Fertility and Contraception
Duncan

Duncan's Occupational Prestige Data
Chile

Voting Intentions in the 1988 Chilean Plebiscite
Chirot

The 1907 Romanian Peasant Rebellion
Womenlf

Canadian Women's Labour-Force Participation
Angell

Moral Integration of American Cities
Moore

Status, Authoritarianism, and Conformity
Cowles

Cowles and Davis's Data on Volunteering
Adler

Experimenter Expectations
DavisThin

Davis's Data on Drive for Thinness
Prestige

Prestige of Canadian Occupations
Blackmoor

Exercise Histories of Eating-Disordered and Control Subjects
US.pop

Population of the United States
Hartnagel

Canadian Crime-Rates Time Series
Mroz

U.S. Women's Labor-Force Participation
Can.pop

Canadian Population Data
Quartet

Four Regression Datasets