Learn R Programming

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

car (version 0.9-1)

Companion to Applied Regression

Description

This package contains mostly functions for applied regession, 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 plot.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

395,928

Version

0.9-1

License

GPL version 2 or newer

Maintainer

John Fox

Last Published

September 27th, 2024

Functions in car (0.9-1)

Anova

Anova Tables for Linear and Generalized Linear Models
Var

Variance-Covariance Matrices
car-internal

Internal car functions
Ellipses

Ellipses, Data Ellipses, and Confidence Ellipses
Ask

Change Argument to a Function Interactively
av.plots

Added-Variable Plots
box.cox.var

Constructed Variable for Box-Cox Transformation
box.tidwell

Box-Tidwell Transformations
leverage.plots

Regression Leverage Plots
box.cox

Box-Cox Family of Transformations
box.cox.powers

Multivariate Unconditional Box-Cox Transformations
ceres.plots

Ceres Plots
cr.plots

Component+Residual (Partial Residual) Plots
Transformation Axes

Axes for Transformed Variables
Deletion Diagnostics

Deletion Diagnostics for Linear and Generalized Linear Models
scatterplot.matrix

Scatterplot Matrices
recode

Recode a Variable
hccm

Heteroscedasticity-Corrected Covariance Matrices
spread.level.plot

Spread-Level Plots
n.bins

Number of Bins for Histogram
which.names

Position of Row Names
panel.car

Panel Function Coplots
scatterplot

Scatterplots with Boxplots
logit

Logit Transformation
durbin.watson

Durbin-Watson Test for Autocorrelated Errors
qq.plot

Quantile-Comparison Plots
outlier.test

Bonferroni Outlier Test
ncv.test

Score Test for Non-Constant Error Variance
vif

Variance Inflation Factors
linear.hypothesis

Test Linear Hypothesis
subsets

Plot Output from regsubsets Function in leaps package
reg.line

Plot Regression Line
Angell

Moral Integration of American Cities
Vocab

Vocabulary and Education
Florida

Florida County Voting
Chirot

The 1907 Romanian Peasant Rebellion
US.pop

Population of the United States
Quartet

Four Regression Datasets
Davis

Self-Reports of Height and Weight
Prestige

Prestige of Canadian Occupations
Burt

Fraudulent Data on IQs of Twins Raised Apart
Robey

Fertility and Contraception
Anscombe

U. S. State Public-School Expenditures
Mandel

Contrived Collinear Data
Moore

Status, Authoritarianism, and Conformity
Cowles

Cowles and Davis's Data on Volunteering
Womenlf

Canadian Women's Labour-Force Participation
Baumann

Methods of Teaching Reading Comprehension
Ericksen

The 1980 U.S. Census Undercount
Guyer

Anonymity and Cooperation
Freedman

Crowding and Crime in U. S. Metropolitan Areas
Bfox

Canadian Women's Labour-Force Participation
Adler

Experimenter Expectations
Hartnagel

Canadian Crime-Rates Time Series
Leinhardt

Data on Infant-Mortality
Migration

Canadian Interprovincial Migration Data
Chile

Voting Intentions in the 1988 Chilean Plebiscite
SLID

Survey of Labour and Income Dynamics
Can.pop

Canadian Population Data
Sahlins

Agricultural Production in Mazulu Village
UN

GDP and Infant Mortality
DavisThin

Davis's Data on Drive for Thinness
Ornstein

Interlocking Directorates Among Major Canadian Firms
Ginzberg

Data on Depression
States

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

Format Effects on Recall
Duncan

Duncan's Occupational Prestige Data
Mroz

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

Refugee Appeals