Package: vcdExtra 0.8-6

vcdExtra: 'vcd' Extensions and Additions

Provides additional data sets, methods and documentation to complement the 'vcd' package for Visualizing Categorical Data and the 'gnm' package for Generalized Nonlinear Models. In particular, 'vcdExtra' extends mosaic, assoc and sieve plots from 'vcd' to handle 'glm()' and 'gnm()' models and adds a 3D version in 'mosaic3d'. Additionally, methods are provided for comparing and visualizing lists of 'glm' and 'loglm' objects. This package is now a support package for the book, "Discrete Data Analysis with R" by Michael Friendly and David Meyer.

Authors:Michael Friendly [aut, cre], Heather Turner [ctb], David Meyer [ctb], Achim Zeileis [ctb], Duncan Murdoch [ctb], David Firth [ctb], Matt Kumar [ctb], Shuguang Sun [ctb]

vcdExtra_0.8-6.tar.gz
vcdExtra_0.8-6.zip(r-4.5)vcdExtra_0.8-6.zip(r-4.4)vcdExtra_0.8-6.zip(r-4.3)
vcdExtra_0.8-6.tgz(r-4.4-any)vcdExtra_0.8-6.tgz(r-4.3-any)
vcdExtra_0.8-6.tar.gz(r-4.5-noble)vcdExtra_0.8-6.tar.gz(r-4.4-noble)
vcdExtra_0.8-6.tgz(r-4.4-emscripten)vcdExtra_0.8-6.tgz(r-4.3-emscripten)
vcdExtra.pdf |vcdExtra.html
vcdExtra/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/friendly/vcdextra/issues

Datasets:
  • Abortion - Abortion Opinion Data
  • Accident - Traffic Accident Victims in France in 1958
  • AirCrash - Air Crash Data
  • Alligator - Alligator Food Choice
  • Asbestos - Effect of Exposure to Asbestos
  • Bartlett - Bartlett Data on Plum Root Cuttings
  • Burt - Burt (1950) Data on Hair, Eyes, Head and Stature
  • Caesar - Risk Factors for Infection in Caesarian Births
  • Cancer - Survival of Breast Cancer Patients
  • Cormorants - Advertising Behavior by Males Cormorants
  • CyclingDeaths - London Cycling Deaths
  • DaytonSurvey - Dayton Student Survey on Substance Use
  • Depends - Dependencies of R Packages
  • Detergent - Detergent preference data
  • Donner - Survival in the Donner Party
  • Draft1970 - USA 1970 Draft Lottery Data
  • Draft1970table - USA 1970 Draft Lottery Table
  • Dyke - Sources of Knowledge of Cancer
  • Fungicide - Carcinogenic Effects of a Fungicide
  • GSS - General Social Survey- Sex and Party affiliation
  • Geissler - Geissler's Data on the Human Sex Ratio
  • Gilby - Clothing and Intelligence Rating of Children
  • Glass - British Social Mobility from Glass
  • HairEyePlace - Hair Color and Eye Color in Caithness and Aberdeen
  • Hauser79 - Hauser (1979) Data on Social Mobility
  • Heart - Sex, Occupation and Heart Disease
  • Heckman - Labour Force Participation of Married Women 1967-1971
  • HospVisits - Hospital Visits Data
  • HouseTasks - Household Tasks Performed by Husbands and Wives
  • Hoyt - Minnesota High School Graduates
  • ICU - ICU data set
  • JobSat - Cross-classification of job satisfaction by income
  • Mammograms - Mammogram Ratings
  • Mental - Mental Impairment and Parents SES
  • Mice - Mice Depletion Data
  • Mobility - Social Mobility data
  • PhdPubs - Publications of PhD Candidates
  • ShakeWords - Shakespeare's Word Type Frequencies
  • TV - TV Viewing Data
  • Titanicp - Passengers on the Titanic
  • Toxaemia - Toxaemia Symptoms in Pregnancy
  • Vietnam - Student Opinion about the Vietnam War
  • Vote1980 - Race and Politics in the 1980 Presidential Vote
  • WorkerSat - Worker Satisfaction Data
  • Yamaguchi87 - Occupational Mobility in Three Countries

On CRAN:

categorical-data-visualizationgeneralized-linear-modelsmosaic-plots

10.35 score 24 stars 3 packages 432 scripts 5.0k downloads 6 mentions 45 exports 42 dependencies

Last updated 1 months agofrom:5e252c42de. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 12 2024
R-4.5-winNOTENov 12 2024
R-4.5-linuxNOTENov 12 2024
R-4.4-winNOTENov 12 2024
R-4.4-macNOTENov 12 2024
R-4.3-winNOTENov 12 2024
R-4.3-macNOTENov 12 2024

Exports:assoc.glmblogitscenter3dCMHtestcollapse.tableconditionalCrossingscutfacdatasetsdlogseriesexpand.dftexpand.tableGKgammaglmlistHLtestHosmerLemeshowjointKwaylogLik.loglmloglin2formulaloglin2stringloglmlistLRstatsmarkovmcaplotmodFitmodFit.glmmodFit.loglmmosaic.glmmosaic3dmutualplogseriesprint.GKgammaqlogseriesrange3drlogseriessaturatedseq_loglmseq_mosaicsieve.glmsplit3dsummariseSummariseupdate.xtabszero.test

Dependencies:cacellrangerclicolorspacecpp11crayondplyrfansigenericsgluegnmherehmslatticelifecyclelmtestmagrittrMASSMatrixnnetpillarpkgconfigprettyunitsprogresspurrrqvcalcR6readxlrelimprematchrlangrprojrootstringistringrtibbletidyrtidyselectutf8vcdvctrswithrzoo

Creating and manipulating frequency tables

Rendered froma1-creating.Rmdusingknitr::rmarkdownon Nov 12 2024.

Last update: 2024-10-13
Started: 2024-10-13

Tests of Independence

Rendered froma2-tests.Rmdusingknitr::rmarkdownon Nov 12 2024.

Last update: 2024-10-13
Started: 2024-10-13

Loglinear Models

Rendered froma3-loglinear.Rmdusingknitr::rmarkdownon Nov 12 2024.

Last update: 2024-10-13
Started: 2024-10-13

Mosaic plots

Rendered froma4-mosaics.Rmdusingknitr::rmarkdownon Nov 12 2024.

Last update: 2024-10-13
Started: 2024-10-13

Demo - Housing Data

Rendered froma5-demo-housing.Rmdusingknitr::rmarkdownon Nov 12 2024.

Last update: 2024-10-13
Started: 2024-10-13

Mobility tables

Rendered froma6-mobility.Rmdusingknitr::rmarkdownon Nov 12 2024.

Last update: 2024-10-13
Started: 2024-10-13

Continuous predictors

Rendered froma7-continuous.Rmdusingknitr::rmarkdownon Nov 12 2024.

Last update: 2024-10-13
Started: 2024-10-13

Datasets for categorical data analysis

Rendered fromdatasets.Rmdusingknitr::rmarkdownon Nov 12 2024.

Last update: 2024-10-13
Started: 2023-02-28

Readme and manuals

Help Manual

Help pageTopics
Extensions and additions to vcd: Visualizing Categorical DatavcdExtra-package vcdExtra
Abortion Opinion DataAbortion
Traffic Accident Victims in France in 1958Accident
Air Crash DataAirCrash
Alligator Food ChoiceAlligator
Effect of Exposure to AsbestosAsbestos
Bartlett Data on Plum Root CuttingsBartlett
Bivariate Logits and Log Odds Ratioblogits
Burt (1950) Data on Hair, Eyes, Head and StatureBurt
Risk Factors for Infection in Caesarian BirthsCaesar
Survival of Breast Cancer PatientsCancer
Generalized Cochran-Mantel-Haenszel TestsCMHtest CMHtest.default CMHtest.formula Cochran Mantel Haenszel test print.CMHtest
Collapse Levels of a Tablecollapse.table
Advertising Behavior by Males CormorantsCormorants
Crossings Interaction of FactorsCrossings
Cut a Numeric Variable to a Factorcutfac
London Cycling DeathsCyclingDeaths
Information on Data Sets in Packagesdatasets
Dayton Student Survey on Substance UseDaytonSurvey
Dependencies of R PackagesDepends
Detergent preference dataDetergent
Survival in the Donner PartyDonner
USA 1970 Draft Lottery DataDraft1970
USA 1970 Draft Lottery TableDraft1970table
Sources of Knowledge of CancerDyke
Expand a frequency table to case formexpand.dft expand.table
Carcinogenic Effects of a FungicideFungicide
Geissler's Data on the Human Sex RatioGeissler
Clothing and Intelligence Rating of ChildrenGilby
Calculate Goodman-Kruskal Gamma for ordered tablesGKgamma print.GKgamma
British Social Mobility from Glass(1954)Glass
Create a Model List Objectcoef.glmlist glmlist loglmlist
General Social Survey- Sex and Party affiliationGSS
Hair Color and Eye Color in Caithness and AberdeenHairEyePlace
Hauser (1979) Data on Social MobilityHauser79
Sex, Occupation and Heart DiseaseHeart
Labour Force Participation of Married Women 1967-1971Heckman
Hosmer-Lemeshow Goodness of Fit TestHLtest HosmerLemeshow plot.HLtest print.HLtest rootogram.HLtest summary.HLtest
Hospital Visits DataHospVisits
Household Tasks Performed by Husbands and WivesHouseTasks
Minnesota High School GraduatesHoyt
ICU data setICU
Cross-classification of job satisfaction by incomeJobSat
Fit All K-way Models in a GLMKway
Log-Likelihood of a loglm ObjectlogLik.loglm
Loglinear Model Utilitiesconditional joint loglin-utilities loglin2formula loglin2string markov mutual saturated
The Logarithmic Series Distributiondlogseries Logseries plogseries qlogseries rlogseries
Brief Summary of Model Fit for glm and loglm ModelsLRstats LRstats.default LRstats.glmlist LRstats.loglmlist
Mammogram RatingsMammograms
Simple and enhanced plot of MCA solutionsmcaplot
Mental Impairment and Parents SESMental
Mice Depletion DataMice
Social Mobility dataMobility
Brief Summary of Model Fit for a glm or loglm ObjectmodFit modFit.glm modFit.loglm
Mosaic plots for fitted generalized linear and generalized nonlinear modelsassoc.glm mosaic.glm sieve.glm
Mosaic Displays for 'glmlist' and 'loglmlist' Objectsmosaic.glmlist mosaic.loglmlist
3D Mosaic Plotsmosaic3d mosaic3d.default mosaic3d.loglm
Publications of PhD CandidatesPhdPubs
Print Kappaprint.Kappa
Sequential Loglinear Models for an N-way Tableseq_loglm
Sequential Mosaics and Strucplots for an N-way Tableseq_mosaic
Shakespeare's Word Type FrequenciesShakeWords
Subdivide a 3D Objectcenter3d range3d split3d split3d.list split3d.shape3d
Brief Summary of Model Fit for glm and loglm ModelsSummarise Summarise.default Summarise.glmlist Summarise.loglmlist
Passengers on the TitanicTitanicp
Toxaemia Symptoms in PregnancyToxaemia
TV Viewing DataTV
Update method for a 'xtabs' objectupdate.xtabs
Deprecated Functions in vcdExtra Packagesummarise vcdExtra-deprecated
Student Opinion about the Vietnam WarVietnam
Race and Politics in the 1980 Presidential VoteVote1980
Worker Satisfaction DataWorkerSat
Occupational Mobility in Three CountriesYamaguchi87
Score test for zero inflation in Poisson datazero.test