Learn R Programming

vcdExtra (version 0.9.7)

'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

4,448

Version

0.9.7

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Michael Friendly

Last Published

August 3rd, 2026

Functions in vcdExtra (0.9.7)

DaytonSurvey

Dayton Student Survey on Substance Use
CrabSatellites

Horseshoe Crab Mating
Draft1970table

USA 1970 Draft Lottery Table
Donner

Survival in the Donner Party
Draft1970

USA 1970 Draft Lottery Data
Cormorants

Advertising Behavior by Males Cormorants
Crossings

Crossings Interaction of Factors
CyclingDeaths

London Cycling Deaths
Detergent

Detergent Preference Data
Depends

Dependencies of R Packages
Dyke

Sources of Knowledge of Cancer
Gilby

Clothing and Intelligence Rating of Children
HLtest

Hosmer-Lemeshow Goodness of Fit Test
GSS

General Social Survey-- Sex and Party affiliation
Fungicide

Carcinogenic Effects of a Fungicide
HairEyePlace

Hair Color and Eye Color in Caithness and Aberdeen
Geissler

Geissler's Data on the Human Sex Ratio
Glass

British Social Mobility from Glass(1954)
Hauser79

Hauser (1979) Data on Social Mobility
GKgamma

Calculate Goodman-Kruskal Gamma for ordered tables
JobSat

Cross-classification of job satisfaction by income
Heart

Sex, Occupation and Heart Disease
HouseTasks

Household Tasks Performed by Husbands and Wives
ICU

ICU data set
Mammograms

Mammogram Ratings
Hoyt

Minnesota High School Graduates
Kway

Fit All K-way Models in a GLM
LRstats

Brief Summary of Model Fit for glm and loglm Models
Heckman

Labour Force Participation of Married Women 1967-1971
HospVisits

Hospital Visits Data
Mice

Mice Depletion Data
Mental

Mental Impairment and Parents SES
Reinis

Risk Factors for Coronary Heart Disease
TV

TV Viewing Data
Mobility

Social Mobility data
Toxaemia

Toxaemia Symptoms in Pregnancy
PhdPubs

Publications of PhD Candidates
Summarise

Brief Summary of Model Fit for glm and loglm Models
Titanicp

Passengers on the Titanic
ShakeWords

Shakespeare's Word Type Frequencies
as_freqform

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

Student Opinion about the Vietnam War
as_table

Convert frequency or case form data into table form
as_matrix

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

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

Association Graph for a Loglinear Model
WorkerSat

Worker Satisfaction Data
Yamaguchi87

Occupational Mobility in Three Countries
Vote1980

Race and Politics in the 1980 Presidential Vote
as_caseform

Convert frequency or table form into case form.
collapse.table

Collapse Levels of a Table
get_model

Extract Model Formulas from Model Objects or Model Lists
breslow_day_test

Breslow-Day Test for Homogeneity of Odds Ratios
color_table

Smart Display of Frequency Tables with Colored Cell Backgrounds
collapse_levels

Collapse the levels of a dataset
blogits

Bivariate Logits and Log Odds Ratio
cutfac

Cut a Numeric Variable to a Factor
glmlist

Create a Model List Object
expand.dft

Expand a frequency table to case form
datasets

Information on Data Sets in Packages
joint

Loglinear Model Utilities
labeling_points

Labeling Function for Mosaic Displays Using Points
knit_include

Include an HTML-renderable object in any knitr output format
mosaic.glm

Mosaic plots for fitted generalized linear and generalized nonlinear models
dlogseries

The Logarithmic Series Distribution
mosaic3d

3D Mosaic Plots
modFit

Brief Summary of Model Fit for a glm or loglm Object
mcaplot

Simple and enhanced plot of MCA solutions
logLik.loglm

Log-Likelihood of a loglm Object
mosaic.glmlist

Mosaic Displays for glmlist and loglmlist Objects
pairs_diagonal_mosaic

Diagonal Panel Function for Pairs Plots of Contingency Tables
woolf_test

Woolf Test for Homogeneity of Odds Ratios
seq_mosaic

Sequential Mosaics and Strucplots for an N-way Table
plot.assoc_graph

Plot an Association Graph
update.xtabs

Update method for a xtabs object
split3d

Subdivide a 3D Object
vcdExtra-package

Extensions and additions to vcd: Visualizing Categorical Data
seq_loglm

Sequential Loglinear Models for an N-way Table
zero.test

Score test for zero inflation in Poisson data
print.Kappa

Print Kappa
Cancer

Survival of Breast Cancer Patients
Caesar

Risk Factors for Infection in Caesarian Births
Bartlett

Bartlett Data on Plum Root Cuttings
CMHtest

Generalized Cochran-Mantel-Haenszel Tests
Abortion

Abortion Opinion Data
AirCrash

Air Crash Data
Asbestos

Effect of Exposure to Asbestos
Alligator

Alligator Food Choice
Accident

Traffic Accident Victims in France in 1958
Burt

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