Learn R Programming

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

car (version 1.0-14)

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.0-14

License

GPL version 2 or newer

Maintainer

John Fox

Last Published

September 27th, 2024

Functions in car (1.0-14)

Ask

Change Argument to a Function Interactively
box.cox.powers

Multivariate Unconditional Box-Cox Transformations
Transformation Axes

Axes for Transformed Variables
Var

Variance-Covariance Matrices (deprecated)
ceres.plots

Ceres Plots
av.plots

Added-Variable Plots
Cook's Distances

Cook's Distances for Linear and Generalized Linear Models
linear.hypothesis

Test Linear Hypothesis
spread.level.plot

Spread-Level Plots
levene.test

Levene's Test
outlier.test

Bonferroni Outlier Test
recode

Recode a Variable
some

Sample a Few Elements of an Object
scatterplot.matrix

Scatterplot Matrices
subsets

Plot Output from regsubsets Function in leaps package
reg.line

Plot Regression Line
hccm

Heteroscedasticity-Corrected Covariance Matrices
n.bins

Number of Bins for Histogram
vif

Variance Inflation Factors
car-internal

Internal car functions
ncv.test

Score Test for Non-Constant Error Variance
cr.plots

Component+Residual (Partial Residual) Plots
scatterplot

Scatterplots with Boxplots
leverage.plots

Regression Leverage Plots
qq.plot

Quantile-Comparison Plots
durbin.watson

Durbin-Watson Test for Autocorrelated Errors
panel.car

Panel Function Coplots
logit

Logit Transformation
Anova

Anova Tables for Linear and Generalized Linear Models
which.names

Position of Row Names
box.tidwell

Box-Tidwell Transformations
box.cox.var

Constructed Variable for Box-Cox Transformation
influence.plot

Regression Influence Plot
Ellipses

Ellipses, Data Ellipses, and Confidence Ellipses
Contrasts

Functions to Construct Contrasts
box.cox

Box-Cox Family of Transformations
Robey

Fertility and Contraception
Cowles

Cowles and Davis's Data on Volunteering
Ginzberg

Data on Depression
Duncan

Duncan's Occupational Prestige Data
Blackmoor

Exercise Histories of Eating-Disordered and Control Subjects
Anscombe

U. S. State Public-School Expenditures
Leinhardt

Data on Infant-Mortality
Mroz

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

Florida County Voting
Migration

Canadian Interprovincial Migration Data
Hartnagel

Canadian Crime-Rates Time Series
DavisThin

Davis's Data on Drive for Thinness
Chile

Voting Intentions in the 1988 Chilean Plebiscite
Quartet

Four Regression Datasets
Moore

Status, Authoritarianism, and Conformity
Greene

Refugee Appeals
Baumann

Methods of Teaching Reading Comprehension
Sahlins

Agricultural Production in Mazulu Village
Mandel

Contrived Collinear Data
SLID

Survey of Labour and Income Dynamics
Womenlf

Canadian Women's Labour-Force Participation
Bfox

Canadian Women's Labour-Force Participation
US.pop

Population of the United States
States

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

Vocabulary and Education
Davis

Self-Reports of Height and Weight
Burt

Fraudulent Data on IQs of Twins Raised Apart
Prestige

Prestige of Canadian Occupations
Can.pop

Canadian Population Data
Friendly

Format Effects on Recall
Ericksen

The 1980 U.S. Census Undercount
Ornstein

Interlocking Directorates Among Major Canadian Firms
Chirot

The 1907 Romanian Peasant Rebellion
Guyer

Anonymity and Cooperation
Adler

Experimenter Expectations
Freedman

Crowding and Crime in U. S. Metropolitan Areas
UN

GDP and Infant Mortality
Angell

Moral Integration of American Cities