Learn R Programming

vcdExtra (version 0.9.1)

'vcd' Extensions and Additions

Description

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.

Copy Link

Version

Install

install.packages('vcdExtra')

Monthly Downloads

8,157

Version

0.9.1

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Michael Friendly

Last Published

February 9th, 2026

Functions in vcdExtra (0.9.1)

Draft1970

USA 1970 Draft Lottery Data
CrabSatellites

Horseshoe Crab Mating
Depends

Dependencies of R Packages
Donner

Survival in the Donner Party
Cormorants

Advertising Behavior by Males Cormorants
Draft1970table

USA 1970 Draft Lottery Table
CyclingDeaths

London Cycling Deaths
DaytonSurvey

Dayton Student Survey on Substance Use
Detergent

Detergent Preference Data
Crossings

Crossings Interaction of Factors
HLtest

Hosmer-Lemeshow Goodness of Fit Test
GKgamma

Calculate Goodman-Kruskal Gamma for ordered tables
Hauser79

Hauser (1979) Data on Social Mobility
Gilby

Clothing and Intelligence Rating of Children
GSS

General Social Survey-- Sex and Party affiliation
Dyke

Sources of Knowledge of Cancer
Geissler

Geissler's Data on the Human Sex Ratio
Fungicide

Carcinogenic Effects of a Fungicide
HairEyePlace

Hair Color and Eye Color in Caithness and Aberdeen
Glass

British Social Mobility from Glass(1954)
LRstats

Brief Summary of Model Fit for glm and loglm Models
Kway

Fit All K-way Models in a GLM
ICU

ICU data set
Mammograms

Mammogram Ratings
JobSat

Cross-classification of job satisfaction by income
Hoyt

Minnesota High School Graduates
HospVisits

Hospital Visits Data
Heckman

Labour Force Participation of Married Women 1967-1971
Heart

Sex, Occupation and Heart Disease
HouseTasks

Household Tasks Performed by Husbands and Wives
Mobility

Social Mobility data
Mice

Mice Depletion Data
Reinis

Risk Factors for Coronary Heart Disease
PhdPubs

Publications of PhD Candidates
Summarise

Brief Summary of Model Fit for glm and loglm Models
Mental

Mental Impairment and Parents SES
TV

TV Viewing Data
ShakeWords

Shakespeare's Word Type Frequencies
Toxaemia

Toxaemia Symptoms in Pregnancy
Titanicp

Passengers on the Titanic
blogits

Bivariate Logits and Log Odds Ratio
color_table

Display Frequency Table with Colored Cell Backgrounds
WorkerSat

Worker Satisfaction Data
collapse.table

Collapse Levels of a Table
cutfac

Cut a Numeric Variable to a Factor
Yamaguchi87

Occupational Mobility in Three Countries
Vote1980

Race and Politics in the 1980 Presidential Vote
Vietnam

Student Opinion about the Vietnam War
datasets

Information on Data Sets in Packages
expand.dft

Expand a frequency table to case form
mcaplot

Simple and enhanced plot of MCA solutions
labeling_points

Labeling Function for Mosaic Displays Using Points
get_model

Extract Model Formula from a loglm or glm Object
joint

Loglinear Model Utilities
dlogseries

The Logarithmic Series Distribution
mosaic.glmlist

Mosaic Displays for glmlist and loglmlist Objects
mosaic.glm

Mosaic plots for fitted generalized linear and generalized nonlinear models
glmlist

Create a Model List Object
modFit

Brief Summary of Model Fit for a glm or loglm Object
logLik.loglm

Log-Likelihood of a loglm Object
print.Kappa

Print Kappa
woolf_test

Woolf Test for Homogeneity of Odds Ratios
update.xtabs

Update method for a xtabs object
vcdExtra-package

Extensions and additions to vcd: Visualizing Categorical Data
zero.test

Score test for zero inflation in Poisson data
seq_loglm

Sequential Loglinear Models for an N-way Table
mosaic3d

3D Mosaic Plots
seq_mosaic

Sequential Mosaics and Strucplots for an N-way Table
split3d

Subdivide a 3D Object
AirCrash

Air Crash Data
Asbestos

Effect of Exposure to Asbestos
Abortion

Abortion Opinion Data
Alligator

Alligator Food Choice
Cancer

Survival of Breast Cancer Patients
Bartlett

Bartlett Data on Plum Root Cuttings
Caesar

Risk Factors for Infection in Caesarian Births
Burt

Burt (1950) Data on Hair, Eyes, Head and Stature
Accident

Traffic Accident Victims in France in 1958
CMHtest

Generalized Cochran-Mantel-Haenszel Tests