Package: car 3.1-4

John Fox

car: Companion to Applied Regression

Functions to Accompany J. Fox and S. Weisberg, An R Companion to Applied Regression, Third Edition, Sage, 2019.

Authors:John Fox [aut, cre], Sanford Weisberg [aut], Brad Price [aut], Daniel Adler [ctb], Douglas Bates [ctb], Gabriel Baud-Bovy [ctb], Ben Bolker [ctb], Steve Ellison [ctb], David Firth [ctb], Michael Friendly [ctb], Gregor Gorjanc [ctb], Spencer Graves [ctb], Richard Heiberger [ctb], Pavel Krivitsky [ctb], Rafael Laboissiere [ctb], Martin Maechler [ctb], Georges Monette [ctb], Duncan Murdoch [ctb], Henric Nilsson [ctb], Derek Ogle [ctb], Iain Proctor [ctb], Brian Ripley [ctb], Tom Short [ctb], William Venables [ctb], Steve Walker [ctb], David Winsemius [ctb], Achim Zeileis [ctb], R-Core [ctb]

car_3.1-4.tar.gz
car_3.1-4.zip(r-4.5)car_3.1-4.zip(r-4.4)car_3.1-4.zip(r-4.3)
car_3.1-4.tgz(r-4.4-any)car_3.1-4.tgz(r-4.3-any)
car_3.1-4.tar.gz(r-4.5-noble)car_3.1-4.tar.gz(r-4.4-noble)
car_3.1-4.tgz(r-4.4-emscripten)car_3.1-4.tgz(r-4.3-emscripten)
car.pdf |car.html
car/json (API)
NEWS

# Install 'car' in R:
install.packages('car', repos = c('https://r-forge.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://r-forge.r-project.org/projects/car

On CRAN:

15.42 score 869 packages 43k scripts 594k downloads 1.7k mentions 140 exports 59 dependencies

Last updated 30 days agofrom:ce1f93970e. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 28 2024
R-4.5-winOKNov 28 2024
R-4.5-linuxOKNov 28 2024
R-4.4-winOKNov 28 2024
R-4.4-macOKNov 28 2024
R-4.3-winOKNov 28 2024
R-4.3-macOKNov 28 2024

Exports:.carEnvadaptiveKernelAnovaav.plotav.plotsavPlotavPlot3davPlotsbasicPowerbasicPowerAxisbcbcnPowerbcnPowerAxisbcnPowerInversebcPowerbcPowerAxisBootbootCasebox.coxbox.cox.powersbox.cox.varbox.tidwellboxCoxboxCox2dboxCoxVariableBoxplotboxTidwellbriefcarHexstickercarPalettecarWebceres.plotceres.plotsceresPlotceresPlotscompareCoefsconfidence.ellipseconfidenceEllipseconfidenceEllipsesConfintcontr.Helmertcontr.Sumcontr.Treatmentcookdcr.plotcr.plotscrpcrPlotcrPlot3dcrPlotsdata.ellipsedataEllipsedbiwtdeltaMethoddensityPlotdepandfbetaPlotsdfbetasPlotsdurbin.watsondurbinWatsonTestdwtellipseExportgamLinehccmIdentify3dImportinfIndexPlotinfluenceIndexPlotinfluencePlotinverseResponsePlotinvResPlotinvTranEstimateinvTranPlotlevene.testleveneTestleverage.plotleverage.plotsleveragePlotleveragePlotslhtlinear.hypothesislinearHypothesislinearHypothesis.defaultloessLinelogitmakeHypothesisManovamarginalModelPlotmarginalModelPlotsmatchCoefsmcPlotmcPlotsmmpmmpsncv.testncvTestnextBootoutlier.testoutlierTestpanel.carpointLabelpoTestpowerTransformPredictprintHypothesisprobabilityAxisqq.plotqqpqqPlotquantregLinerecodeRecoderegLineresidualPlotresidualPlotsSscatter3dscatterplotscatterplotMatrixshowLabelssigmaHatskewPowerslpsomespspmspread.level.plotspreadLevelPlotstrings2factorssubsetssymboxTapplytestTransformvifwcrossprodwhich.nameswhichNamesyjPoweryjPowerAxis

Dependencies:abindbackportsbootbroomcarDataclicolorspacecowplotcpp11DerivdoBydplyrfansifarverFormulagenericsggplot2gluegtableisobandlabelinglatticelifecyclelme4magrittrMASSMatrixMatrixModelsmgcvmicrobenchmarkminqamodelrmunsellnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigpurrrquantregR6RColorBrewerRcppRcppEigenrlangscalesSparseMstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithr

Using car functions inside user functions

Rendered fromembedding.Rnwusingutils::Sweaveon Nov 28 2024.

Last update: 2021-05-15
Started: 2017-08-27

Readme and manuals

Help Manual

Help pageTopics
Anova Tables for Various Statistical ModelsAnova Anova.aov Anova.clm Anova.clmm Anova.coxme Anova.coxph Anova.default Anova.glm Anova.lm Anova.lme Anova.manova Anova.mer Anova.merMod Anova.mlm Anova.multinom Anova.polr Anova.rlm Anova.svycoxph Anova.svyglm as.data.frame.univaov Manova Manova.mlm print.Anova.mlm print.summary.Anova.mlm print.univaov summary.Anova.mlm
Added-Variable Plotsavp avPlot avPlot.glm avPlot.lm avPlot3d avPlot3d.glm avPlot3d.lm avPlots avPlots.default
Box-Cox, Box-Cox with Negatives Allowed, Yeo-Johnson and Basic Power TransformationsbasicPower bcnPower bcnPowerInverse bcPower yjPower
Bootstrapping for regression modelsBoot Boot.default Boot.glm Boot.lm Boot.nls
Graph the profile log-likelihood for Box-Cox transformations in 1D, or in 2D with the bcnPower family.boxCox boxCox.bcnPowerTransform boxCox.default boxCox.formula boxCox.lm boxCox2d
Constructed Variable for Box-Cox TransformationboxCoxVariable
Boxplots With Point IdentificationBoxplot Boxplot.data.frame Boxplot.default Boxplot.formula Boxplot.list Boxplot.matrix
Box-Tidwell TransformationsboxTidwell boxTidwell.default boxTidwell.formula print.boxTidwell
Print Abbreviated Ouputbrief brief.character brief.data.frame brief.default brief.factor brief.function brief.glm brief.integer brief.list brief.lm brief.matrix brief.multinom brief.numeric brief.polr brief.tbl
Defunct Functions in the car Packageav.plot av.plots bc box.cox box.cox.powers box.cox.var box.tidwell car-defunct ceres.plot ceres.plots confidence.ellipse cookd cr.plot cr.plots data.ellipse durbin.watson levene.test leverage.plot leverage.plots linear.hypothesis ncv.test outlier.test qq.plot skewPower spread.level.plot
Deprecated Functions in the car PackagebootCase bootCase.glm bootCase.lm bootCase.nls car-deprecated nextBoot nextBoot.lm nextBoot.nls
Internal Objects for the 'car' package.carEnv car-internal.Rd
View the Official Hex Sticker for the car PackagecarHexsticker
Set or Retrieve 'car' Package Color PalettecarPalette
Access to the R Companion to Applied Regression WebsitecarWeb
Ceres PlotsceresPlot ceresPlot.glm ceresPlot.lm ceresPlots ceresPlots.default
Print estimated coefficients and their standard errors in a table for several regression models.compareCoefs
Functions to Construct Contrastscontr.Helmert contr.Sum contr.Treatment Contrasts
Component+Residual (Partial Residual) Plotscrp crPlot crPlot.lm crPlot3d crPlot3d.lm crPlots crPlots.default
Estimate and Standard Error of a Nonlinear Function of Estimated Regression CoefficientsdeltaMethod deltaMethod.coxph deltaMethod.default deltaMethod.lm deltaMethod.lme deltaMethod.lmList deltaMethod.mer deltaMethod.merMod deltaMethod.multinom deltaMethod.nls deltaMethod.polr deltaMethod.survreg
Nonparametric Density EstimatesadaptiveKernel dbiwt densityPlot densityPlot.default densityPlot.formula depan
dfbeta and dfbetas Index PlotsdfbetaPlots dfbetaPlots.lm dfbetasPlots dfbetasPlots.lm
Durbin-Watson Test for Autocorrelated ErrorsdurbinWatsonTest durbinWatsonTest.default durbinWatsonTest.lm dwt print.durbinWatsonTest
Ellipses, Data Ellipses, and Confidence EllipsesconfidenceEllipse confidenceEllipse.default confidenceEllipse.glm confidenceEllipse.lm confidenceEllipse.mlm confidenceEllipses confidenceEllipses.default confidenceEllipses.mlm dataEllipse dataEllipse.default dataEllipse.formula ellipse
Export a data frame to disk in one of many formatsExport
Heteroscedasticity-Corrected Covariance Matriceshccm hccm.default hccm.lm
Methods Functions to Support 'boot' ObjectsConfint.boot confint.boot hist.boot summary.boot vcov.boot
Import data from many file formatsImport
Influence Index PlotinfIndexPlot infIndexPlot.influence.lme infIndexPlot.influence.merMod infIndexPlot.lm infIndexPlot.lmerMod influenceIndexPlot
Influence Diagnostics for Mixed-Effects Modelscooks.distance.influence.lme dfbeta.influence.lme dfbetas.influence.lme influence.lme influence.mixed.models
Regression Influence Plotinfluence.plot influencePlot influencePlot.lm influencePlot.lmerMod
Inverse Response Plots to Transform the ResponseinverseResponsePlot inverseResponsePlot.lm invResPlot
Choose a Predictor Transformation Visually or NumericallyinvTranEstimate invTranPlot invTranPlot.default invTranPlot.formula
Levene's TestleveneTest leveneTest.default leveneTest.formula leveneTest.lm
Regression Leverage PlotsleveragePlot leveragePlot.glm leveragePlot.lm leveragePlots
Test Linear Hypothesislht linearHypothesis linearHypothesis.default linearHypothesis.glm linearHypothesis.lm linearHypothesis.lme linearHypothesis.lmList linearHypothesis.mer linearHypothesis.merMod linearHypothesis.mlm linearHypothesis.nlsList linearHypothesis.polr linearHypothesis.rlm linearHypothesis.survreg linearHypothesis.svyglm makeHypothesis matchCoefs matchCoefs.default matchCoefs.lme matchCoefs.lmList matchCoefs.mer matchCoefs.merMod matchCoefs.mlm print.linearHypothesis.mlm printHypothesis
Logit Transformationlogit
Draw Linear Model Marginal and Conditional Plots in Parallel or OverlaidmcPlot mcPlot.glm mcPlot.lm mcPlots mcPlots.default
Marginal Model PlottingmarginalModelPlot marginalModelPlots mmp mmp.default mmp.glm mmp.lm mmps
Score Test for Non-Constant Error VariancencvTest ncvTest.glm ncvTest.lm
Bonferroni Outlier TestoutlierTest outlierTest.glm outlierTest.lm outlierTest.lmerMod print.outlierTest
Panel Function for Coplotspanel.car
Label placement for points to avoid overlapspointLabel
Test for Proportional Odds in the Proportional-Odds Logistic-Regression ModelpoTest poTest.polr print.poTest
Finding Univariate or Multivariate Power TransformationspowerTransform powerTransform.default powerTransform.formula powerTransform.lm powerTransform.lmerMod
Model PredictionsPredict Predict.lm
Quantile-Comparison Plotqqp qqPlot qqPlot.default qqPlot.formula qqPlot.glm qqPlot.lm
Recode a VariableRecode recode
Plot Regression LineregLine
Residual Plots for Linear and Generalized Linear ModelsresidCurvTest residCurvTest.glm residCurvTest.lm residualPlot residualPlot.default residualPlot.glm residualPlot.lm residualPlots residualPlots.default residualPlots.glm residualPlots.lm tukeyNonaddTest
Modified Functions for Summarizing Linear, Generalized Linear, and Some Other ModelsConfint Confint.default Confint.glm Confint.glmerMod Confint.lm Confint.lme Confint.lmerMod Confint.multinom Confint.polr print.S.glm print.S.glmerMod print.S.lm print.S.lme print.S.lmerMod print.S.multinom print.S.polr S S.data.frame S.default S.glm S.glmerMod S.lm S.lme S.lmerMod S.multinom S.polr
Three-Dimensional Scatterplots and Point IdentificationIdentify3d scatter3d scatter3d.default scatter3d.formula
Enhanced Scatterplots with Marginal Boxplots, Point Marking, Smoothers, and Morescatterplot scatterplot.default scatterplot.formula sp
Scatterplot MatricesscatterplotMatrix scatterplotMatrix.default scatterplotMatrix.formula spm
Smoothers to Draw Lines on ScatterplotsgamLine loessLine quantregLine ScatterplotSmoothers
Functions to Identify and Mark Extreme Points in a 2D Plot.showLabels
Return the scale estimate for a regression modelsigmaHat sigmaHat.default sigmaHat.glm sigmaHat.lm
Sample a Few Elements of an Objectsome some.data.frame some.default some.matrix
Spread-Level Plotsprint.spreadLevelPlot slp spreadLevelPlot spreadLevelPlot.default spreadLevelPlot.formula spreadLevelPlot.lm
Convert Character-String Variables in a Data Frame to Factorsstrings2factors strings2factors.data.frame
Plot Output from regsubsets Function in leaps packagesubsets subsets.regsubsets
Boxplots for transformations to symmetrysymbox symbox.default symbox.formula symbox.lm
Apply a Function to a Variable Within Factor LevelsTapply
Likelihood-Ratio Tests for Univariate or Multivariate Power Transformations to NormalitytestTransform testTransform.bcnPowerTransformlmer testTransform.lmerModpowerTransform testTransform.powerTransform
Axes for Transformed VariablesbasicPowerAxis bcnPowerAxis bcPowerAxis probabilityAxis yjPowerAxis
Variance Inflation Factorsvif vif.default vif.lm vif.merMod vif.polr vif.svyolr
Weighted Matrix Crossproductwcrossprod
Position of Row Nameswhich.names whichNames whichNames.data.frame whichNames.default