Learn R Programming

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

car (version 1.1-1)

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.1-1

License

GPL version 2 or newer

Maintainer

John Fox

Last Published

September 27th, 2024

Functions in car (1.1-1)

av.plots

Added-Variable Plots
box.cox

Box-Cox Family of Transformations
Anova

Anova Tables for Various Statistical Models
Ask

Change Argument to a Function Interactively
durbin.watson

Durbin-Watson Test for Autocorrelated Errors
Ellipses

Ellipses, Data Ellipses, and Confidence Ellipses
outlier.test

Bonferroni Outlier Test
car-internal

Internal car functions
logit

Logit Transformation
reg.line

Plot Regression Line
ncv.test

Score Test for Non-Constant Error Variance
vif

Variance Inflation Factors
Var

Variance-Covariance Matrices (deprecated)
n.bins

Number of Bins for Histogram
scatterplot.matrix

Scatterplot Matrices
subsets

Plot Output from regsubsets Function in leaps package
linear.hypothesis

Test Linear Hypothesis
box.cox.var

Constructed Variable for Box-Cox Transformation
panel.car

Panel Function Coplots
scatterplot

Scatterplots with Boxplots
Cook's Distances

Cook's Distances for Linear and Generalized Linear Models
car-package

Companion to Applied Regression
which.names

Position of Row Names
influence.plot

Regression Influence Plot
leverage.plots

Regression Leverage Plots
some

Sample a Few Elements of an Object
spread.level.plot

Spread-Level Plots
symbox

Boxplots for transformations to symmetry
recode

Recode a Variable
hccm

Heteroscedasticity-Corrected Covariance Matrices
box.cox.powers

Multivariate Unconditional Box-Cox Transformations
Contrasts

Functions to Construct Contrasts
ceres.plots

Ceres Plots
Transformation Axes

Axes for Transformed Variables
box.tidwell

Box-Tidwell Transformations
qq.plot

Quantile-Comparison Plots
cr.plots

Component+Residual (Partial Residual) Plots
levene.test

Levene's Test
Hartnagel

Canadian Crime-Rates Time Series
Anscombe

U. S. State Public-School Expenditures
Can.pop

Canadian Population Data
Quartet

Four Regression Datasets
Mandel

Contrived Collinear Data
Angell

Moral Integration of American Cities
Baumann

Methods of Teaching Reading Comprehension
UN

GDP and Infant Mortality
Adler

Experimenter Expectations
Burt

Fraudulent Data on IQs of Twins Raised Apart
Bfox

Canadian Women's Labour-Force Participation
Davis

Self-Reports of Height and Weight
Ericksen

The 1980 U.S. Census Undercount
Cowles

Cowles and Davis's Data on Volunteering
Greene

Refugee Appeals
Duncan

Duncan's Occupational Prestige Data
US.pop

Population of the United States
Freedman

Crowding and Crime in U. S. Metropolitan Areas
Chile

Voting Intentions in the 1988 Chilean Plebiscite
States

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

The 1907 Romanian Peasant Rebellion
DavisThin

Davis's Data on Drive for Thinness
Guyer

Anonymity and Cooperation
Vocab

Vocabulary and Education
Friendly

Format Effects on Recall
Prestige

Prestige of Canadian Occupations
Migration

Canadian Interprovincial Migration Data
Blackmoor

Exercise Histories of Eating-Disordered and Control Subjects
Sahlins

Agricultural Production in Mazulu Village
Moore

Status, Authoritarianism, and Conformity
Robey

Fertility and Contraception
Mroz

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

Survey of Labour and Income Dynamics
Womenlf

Canadian Women's Labour-Force Participation
Leinhardt

Data on Infant-Mortality
Ornstein

Interlocking Directorates Among Major Canadian Firms
Ginzberg

Data on Depression
Florida

Florida County Voting