Learn R Programming

vcdExtra (version 0.9.6)

'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,898

Version

0.9.6

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Michael Friendly

Last Published

June 7th, 2026

Functions in vcdExtra (0.9.6)

Draft1970

USA 1970 Draft Lottery Data
Depends

Dependencies of R Packages
CrabSatellites

Horseshoe Crab Mating
Draft1970table

USA 1970 Draft Lottery Table
Cormorants

Advertising Behavior by Males Cormorants
Donner

Survival in the Donner Party
DaytonSurvey

Dayton Student Survey on Substance Use
CyclingDeaths

London Cycling Deaths
Detergent

Detergent Preference Data
Crossings

Crossings Interaction of Factors
Geissler

Geissler's Data on the Human Sex Ratio
Glass

British Social Mobility from Glass(1954)
Heckman

Labour Force Participation of Married Women 1967-1971
HairEyePlace

Hair Color and Eye Color in Caithness and Aberdeen
GSS

General Social Survey-- Sex and Party affiliation
Dyke

Sources of Knowledge of Cancer
HLtest

Hosmer-Lemeshow Goodness of Fit Test
Hauser79

Hauser (1979) Data on Social Mobility
Fungicide

Carcinogenic Effects of a Fungicide
Heart

Sex, Occupation and Heart Disease
Gilby

Clothing and Intelligence Rating of Children
GKgamma

Calculate Goodman-Kruskal Gamma for ordered tables
HospVisits

Hospital Visits Data
HouseTasks

Household Tasks Performed by Husbands and Wives
Kway

Fit All K-way Models in a GLM
Reinis

Risk Factors for Coronary Heart Disease
JobSat

Cross-classification of job satisfaction by income
Titanicp

Passengers on the Titanic
Toxaemia

Toxaemia Symptoms in Pregnancy
Mice

Mice Depletion Data
Hoyt

Minnesota High School Graduates
Mental

Mental Impairment and Parents SES
ICU

ICU data set
ShakeWords

Shakespeare's Word Type Frequencies
Mammograms

Mammogram Ratings
as_array

Convert frequency, case, or table form data into an array
LRstats

Brief Summary of Model Fit for glm and loglm Models
Mobility

Social Mobility data
PhdPubs

Publications of PhD Candidates
assoc_graph

Association Graph for a Loglinear Model
as_table

Convert frequency or case form data into table form
Vote1980

Race and Politics in the 1980 Presidential Vote
Summarise

Brief Summary of Model Fit for glm and loglm Models
TV

TV Viewing Data
as_freqform

Convert any form (case or table form) into frequency form.
as_matrix

Convert frequency, case, or table form data into a matrix.
Vietnam

Student Opinion about the Vietnam War
Yamaguchi87

Occupational Mobility in Three Countries
WorkerSat

Worker Satisfaction Data
expand.dft

Expand a frequency table to case form
knit_include

Include an HTML-renderable object in any knitr output format
cutfac

Cut a Numeric Variable to a Factor
datasets

Information on Data Sets in Packages
glmlist

Create a Model List Object
as_caseform

Convert frequency or table form into case form.
collapse_levels

Collapse the levels of a dataset
color_table

Smart Display of Frequency Table with Colored Cell Backgrounds
get_model

Extract Model Formulas from Model Objects or Model Lists
blogits

Bivariate Logits and Log Odds Ratio
collapse.table

Collapse Levels of a Table
mosaic.glmlist

Mosaic Displays for glmlist and loglmlist Objects
labeling_points

Labeling Function for Mosaic Displays Using Points
dlogseries

The Logarithmic Series Distribution
pairs_diagonal_mosaic

Diagonal Panel Function for Pairs Plots of Contingency Tables
joint

Loglinear Model Utilities
mosaic3d

3D Mosaic Plots
mcaplot

Simple and enhanced plot of MCA solutions
logLik.loglm

Log-Likelihood of a loglm Object
modFit

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

Update method for a xtabs object
mosaic.glm

Mosaic plots for fitted generalized linear and generalized nonlinear models
woolf_test

Woolf Test for Homogeneity of Odds Ratios
plot.assoc_graph

Plot an Association Graph
seq_mosaic

Sequential Mosaics and Strucplots for an N-way Table
zero.test

Score test for zero inflation in Poisson data
seq_loglm

Sequential Loglinear Models for an N-way Table
vcdExtra-package

Extensions and additions to vcd: Visualizing Categorical Data
split3d

Subdivide a 3D Object
print.Kappa

Print Kappa
CMHtest

Generalized Cochran-Mantel-Haenszel Tests
AirCrash

Air Crash Data
Abortion

Abortion Opinion Data
Alligator

Alligator Food Choice
Accident

Traffic Accident Victims in France in 1958
Burt

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

Bartlett Data on Plum Root Cuttings
Cancer

Survival of Breast Cancer Patients
Asbestos

Effect of Exposure to Asbestos
Caesar

Risk Factors for Infection in Caesarian Births