Learn R Programming

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

car (version 1.0-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. Some of the functions in car will use functions in the MASS package, if it is present; the subsets function graphs objects produced by the regsubsets function in the leaps package. 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

596,351

Version

1.0-2

License

GPL version 2 or newer

Maintainer

Last Published

September 27th, 2024

Functions in car (1.0-2)

Ellipses

Ellipses, Data Ellipses, and Confidence Ellipses
box.cox

Box-Cox Family of Transformations
outlier.test

Bonferroni Outlier Test
Deletion Diagnostics

Deletion Diagnostics for Linear and Generalized Linear Models
linear.hypothesis

Test Linear Hypothesis
Anova

Anova Tables for Linear and Generalized Linear Models
Arrests

Arrests for Marijuana Possession
Contrasts

Functions to Construct Contrasts
reg.line

Plot Regression Line
ceres.plots

Ceres Plots
qq.plot

Quantile-Comparison Plots
Transformation Axes

Axes for Transformed Variables
spread.level.plot

Spread-Level Plots
leverage.plots

Regression Leverage Plots
box.tidwell

Box-Tidwell Transformations
subsets

Plot Output from regsubsets Function in leaps package
vif

Variance Inflation Factors
hccm

Heteroscedasticity-Corrected Covariance Matrices
logit

Logit Transformation
which.names

Position of Row Names
panel.car

Panel Function Coplots
recode

Recode a Variable
Ask

Change Argument to a Function Interactively
av.plots

Added-Variable Plots
durbin.watson

Durbin-Watson Test for Autocorrelated Errors
scatterplot

Scatterplots with Boxplots
car-internal

Internal car functions
box.cox.powers

Multivariate Unconditional Box-Cox Transformations
Var

Variance-Covariance Matrices (deprecated)
box.cox.var

Constructed Variable for Box-Cox Transformation
scatterplot.matrix

Scatterplot Matrices
n.bins

Number of Bins for Histogram
effect

Functions For Constructing Effect Plots
cr.plots

Component+Residual (Partial Residual) Plots
ncv.test

Score Test for Non-Constant Error Variance
Chirot

The 1907 Romanian Peasant Rebellion
Robey

Fertility and Contraception
Adler

Experimenter Expectations
Ericksen

The 1980 U.S. Census Undercount
Ornstein

Interlocking Directorates Among Major Canadian Firms
Angell

Moral Integration of American Cities
States

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

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

Data on Infant-Mortality
Baumann

Methods of Teaching Reading Comprehension
Cowles

Cowles and Davis's Data on Volunteering
Ginzberg

Data on Depression
Can.pop

Canadian Population Data
Greene

Refugee Appeals
Anscombe

U. S. State Public-School Expenditures
Quartet

Four Regression Datasets
Mandel

Contrived Collinear Data
Hartnagel

Canadian Crime-Rates Time Series
US.pop

Population of the United States
Vocab

Vocabulary and Education
Burt

Fraudulent Data on IQs of Twins Raised Apart
Florida

Florida County Voting
Davis

Self-Reports of Height and Weight
Freedman

Crowding and Crime in U. S. Metropolitan Areas
Bfox

Canadian Women's Labour-Force Participation
Blackmoor

Exercise Histories of Eating-Disordered and Control Subjects
Moore

Status, Authoritarianism, and Conformity
Duncan

Duncan's Occupational Prestige Data
UN

GDP and Infant Mortality
SLID

Survey of Labour and Income Dynamics
Prestige

Prestige of Canadian Occupations
DavisThin

Davis's Data on Drive for Thinness
Chile

Voting Intentions in the 1988 Chilean Plebiscite
Sahlins

Agricultural Production in Mazulu Village
Friendly

Format Effects on Recall
Guyer

Anonymity and Cooperation
Migration

Canadian Interprovincial Migration Data
Womenlf

Canadian Women's Labour-Force Participation