Learn R Programming

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

car (version 1.0-5)

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

531,516

Version

1.0-5

License

GPL version 2 or newer

Maintainer

John Fox

Last Published

September 27th, 2024

Functions in car (1.0-5)

panel.car

Panel Function Coplots
Contrasts

Functions to Construct Contrasts
durbin.watson

Durbin-Watson Test for Autocorrelated Errors
car-internal

Internal car functions
linear.hypothesis

Test Linear Hypothesis
Ask

Change Argument to a Function Interactively
leverage.plots

Regression Leverage Plots
Ellipses

Ellipses, Data Ellipses, and Confidence Ellipses
Anova

Anova Tables for Linear and Generalized Linear Models
ceres.plots

Ceres Plots
logit

Logit Transformation
av.plots

Added-Variable Plots
box.cox.powers

Multivariate Unconditional Box-Cox Transformations
reg.line

Plot Regression Line
Transformation Axes

Axes for Transformed Variables
cr.plots

Component+Residual (Partial Residual) Plots
ncv.test

Score Test for Non-Constant Error Variance
hccm

Heteroscedasticity-Corrected Covariance Matrices
box.cox.var

Constructed Variable for Box-Cox Transformation
Var

Variance-Covariance Matrices (deprecated)
qq.plot

Quantile-Comparison Plots
subsets

Plot Output from regsubsets Function in leaps package
n.bins

Number of Bins for Histogram
outlier.test

Bonferroni Outlier Test
scatterplot

Scatterplots with Boxplots
scatterplot.matrix

Scatterplot Matrices
box.tidwell

Box-Tidwell Transformations
box.cox

Box-Cox Family of Transformations
which.names

Position of Row Names
Cook's Distances

Cook's Distances for Linear and Generalized Linear Models
spread.level.plot

Spread-Level Plots
vif

Variance Inflation Factors
recode

Recode a Variable
Adler

Experimenter Expectations
Duncan

Duncan's Occupational Prestige Data
Burt

Fraudulent Data on IQs of Twins Raised Apart
Chirot

The 1907 Romanian Peasant Rebellion
Vocab

Vocabulary and Education
Migration

Canadian Interprovincial Migration Data
Sahlins

Agricultural Production in Mazulu Village
Ornstein

Interlocking Directorates Among Major Canadian Firms
Moore

Status, Authoritarianism, and Conformity
Freedman

Crowding and Crime in U. S. Metropolitan Areas
Leinhardt

Data on Infant-Mortality
States

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

Canadian Crime-Rates Time Series
Davis

Self-Reports of Height and Weight
Chile

Voting Intentions in the 1988 Chilean Plebiscite
Womenlf

Canadian Women's Labour-Force Participation
Prestige

Prestige of Canadian Occupations
Blackmoor

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

Canadian Population Data
SLID

Survey of Labour and Income Dynamics
UN

GDP and Infant Mortality
Guyer

Anonymity and Cooperation
Bfox

Canadian Women's Labour-Force Participation
Angell

Moral Integration of American Cities
DavisThin

Davis's Data on Drive for Thinness
Florida

Florida County Voting
Ginzberg

Data on Depression
Quartet

Four Regression Datasets
Anscombe

U. S. State Public-School Expenditures
Cowles

Cowles and Davis's Data on Volunteering
US.pop

Population of the United States
Baumann

Methods of Teaching Reading Comprehension
Mandel

Contrived Collinear Data
Greene

Refugee Appeals
Mroz

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

Format Effects on Recall
Ericksen

The 1980 U.S. Census Undercount
Robey

Fertility and Contraception