Learn R Programming

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

car (version 1.2-2)

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-2

License

GPL version 2 or newer

Maintainer

John Fox

Last Published

September 27th, 2024

Functions in car (1.2-2)

Transformation Axes

Axes for Transformed Variables
OBrienKaiser

O'Brien and Kaiser's Repeated-Measures Data
reg.line

Plot Regression Line
Ask

Change Argument to a Function Interactively
box.cox

Box-Cox Family of Transformations
car-package

Companion to Applied Regression
qq.plot

Quantile-Comparison Plots
Contrasts

Functions to Construct Contrasts
logit

Logit Transformation
box.tidwell

Box-Tidwell Transformations
Cook's Distances

Cook's Distances for Linear and Generalized Linear Models
ceres.plots

Ceres Plots
ncv.test

Score Test for Non-Constant Error Variance
vif

Variance Inflation Factors
spread.level.plot

Spread-Level Plots
box.cox.var

Constructed Variable for Box-Cox Transformation
outlier.test

Bonferroni Outlier Test
av.plots

Added-Variable Plots
some

Sample a Few Elements of an Object
Soils

Soil Compositions of Physical and Chemical Characteristics
durbin.watson

Durbin-Watson Test for Autocorrelated Errors
Var

Variance-Covariance Matrices (deprecated)
scatterplot.matrix

Scatterplot Matrices
recode

Recode a Variable
car-internal

Internal car functions
box.cox.powers

Multivariate Unconditional Box-Cox Transformations
n.bins

Number of Bins for Histogram
Ellipses

Ellipses, Data Ellipses, and Confidence Ellipses
linear.hypothesis

Test Linear Hypothesis
Pottery

Chemical Composition of Pottery
symbox

Boxplots for transformations to symmetry
cr.plots

Component+Residual (Partial Residual) Plots
influencPlot

Regression Influence Plot
which.names

Position of Row Names
levene.test

Levene's Test
Anova

Anova Tables for Various Statistical Models
hccm

Heteroscedasticity-Corrected Covariance Matrices
leverage.plots

Regression Leverage Plots
subsets

Plot Output from regsubsets Function in leaps package
scatterplot

Scatterplots with Boxplots
panel.car

Panel Function Coplots
Davis

Self-Reports of Height and Weight
Hartnagel

Canadian Crime-Rates Time Series
Moore

Status, Authoritarianism, and Conformity
Can.pop

Canadian Population Data
UN

GDP and Infant Mortality
Womenlf

Canadian Women's Labour-Force Participation
Chile

Voting Intentions in the 1988 Chilean Plebiscite
Duncan

Duncan's Occupational Prestige Data
Guyer

Anonymity and Cooperation
Prestige

Prestige of Canadian Occupations
Quartet

Four Regression Datasets
Mandel

Contrived Collinear Data
Adler

Experimenter Expectations
Florida

Florida County Voting
Vocab

Vocabulary and Education
Freedman

Crowding and Crime in U. S. Metropolitan Areas
Mroz

U.S. Women's Labor-Force Participation
Anscombe

U. S. State Public-School Expenditures
Burt

Fraudulent Data on IQs of Twins Raised Apart
Blackmoor

Exercise Histories of Eating-Disordered and Control Subjects
Chirot

The 1907 Romanian Peasant Rebellion
Angell

Moral Integration of American Cities
Baumann

Methods of Teaching Reading Comprehension
States

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

The 1980 U.S. Census Undercount
Bfox

Canadian Women's Labour-Force Participation
Ginzberg

Data on Depression
Sahlins

Agricultural Production in Mazulu Village
Greene

Refugee Appeals
Friendly

Format Effects on Recall
US.pop

Population of the United States
SLID

Survey of Labour and Income Dynamics
Cowles

Cowles and Davis's Data on Volunteering
Ornstein

Interlocking Directorates Among Major Canadian Firms
Leinhardt

Data on Infant-Mortality
Migration

Canadian Interprovincial Migration Data
Robey

Fertility and Contraception
DavisThin

Davis's Data on Drive for Thinness