Learn R Programming

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

car (version 1.1-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

531,516

Version

1.1-2

License

GPL version 2 or newer

Maintainer

John Fox

Last Published

September 27th, 2024

Functions in car (1.1-2)

box.cox.var

Constructed Variable for Box-Cox Transformation
box.cox

Box-Cox Family of Transformations
scatterplot

Scatterplots with Boxplots
Contrasts

Functions to Construct Contrasts
ceres.plots

Ceres Plots
influence.plot

Regression Influence Plot
logit

Logit Transformation
Var

Variance-Covariance Matrices (deprecated)
some

Sample a Few Elements of an Object
durbin.watson

Durbin-Watson Test for Autocorrelated Errors
cr.plots

Component+Residual (Partial Residual) Plots
linear.hypothesis

Test Linear Hypothesis
scatterplot.matrix

Scatterplot Matrices
panel.car

Panel Function Coplots
outlier.test

Bonferroni Outlier Test
reg.line

Plot Regression Line
av.plots

Added-Variable Plots
Anova

Anova Tables for Various Statistical Models
Cook's Distances

Cook's Distances for Linear and Generalized Linear Models
levene.test

Levene's Test
Ellipses

Ellipses, Data Ellipses, and Confidence Ellipses
car-internal

Internal car functions
Transformation Axes

Axes for Transformed Variables
hccm

Heteroscedasticity-Corrected Covariance Matrices
box.cox.powers

Multivariate Unconditional Box-Cox Transformations
ncv.test

Score Test for Non-Constant Error Variance
car-package

Companion to Applied Regression
Ask

Change Argument to a Function Interactively
n.bins

Number of Bins for Histogram
qq.plot

Quantile-Comparison Plots
leverage.plots

Regression Leverage Plots
which.names

Position of Row Names
recode

Recode a Variable
vif

Variance Inflation Factors
spread.level.plot

Spread-Level Plots
symbox

Boxplots for transformations to symmetry
subsets

Plot Output from regsubsets Function in leaps package
box.tidwell

Box-Tidwell Transformations
Friendly

Format Effects on Recall
Womenlf

Canadian Women's Labour-Force Participation
Anscombe

U. S. State Public-School Expenditures
Mandel

Contrived Collinear Data
Ornstein

Interlocking Directorates Among Major Canadian Firms
Vocab

Vocabulary and Education
DavisThin

Davis's Data on Drive for Thinness
Can.pop

Canadian Population Data
Greene

Refugee Appeals
Sahlins

Agricultural Production in Mazulu Village
Ericksen

The 1980 U.S. Census Undercount
Duncan

Duncan's Occupational Prestige Data
Burt

Fraudulent Data on IQs of Twins Raised Apart
States

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

Data on Depression
US.pop

Population of the United States
Guyer

Anonymity and Cooperation
Angell

Moral Integration of American Cities
Davis

Self-Reports of Height and Weight
Leinhardt

Data on Infant-Mortality
Quartet

Four Regression Datasets
Bfox

Canadian Women's Labour-Force Participation
Prestige

Prestige of Canadian Occupations
Baumann

Methods of Teaching Reading Comprehension
Mroz

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

Survey of Labour and Income Dynamics
Blackmoor

Exercise Histories of Eating-Disordered and Control Subjects
Cowles

Cowles and Davis's Data on Volunteering
Migration

Canadian Interprovincial Migration Data
Moore

Status, Authoritarianism, and Conformity
UN

GDP and Infant Mortality
Chirot

The 1907 Romanian Peasant Rebellion
Florida

Florida County Voting
Hartnagel

Canadian Crime-Rates Time Series
Adler

Experimenter Expectations
Robey

Fertility and Contraception
Chile

Voting Intentions in the 1988 Chilean Plebiscite
Freedman

Crowding and Crime in U. S. Metropolitan Areas