Skip to contents

Mosaics

Extensions of vcd::mosaic() and related displays to glm and gnm objects and 3D displays

mosaic(<glm>) sieve(<glm>) assoc(<glm>)
Mosaic plots for fitted generalized linear and generalized nonlinear models
mosaic(<glmlist>) mosaic(<loglmlist>)
Mosaic Displays for glmlist and loglmlist Objects
glmlist() loglmlist() coef(<glmlist>)
Create a Model List Object
mosaic3d()
3D Mosaic Plots
split3d() range3d() center3d()
Subdivide a 3D Object
seq_mosaic()
Sequential Mosaics and Strucplots for an N-way Table

Loglinear models

Functions for constructing and manipulating loglinear models

conditional() joint() markov() mutual() saturated() loglin2formula() loglin2string()
Loglinear Model Utilities
Crossings()
Crossings Interaction of Factors
Kway()
Fit All K-way Models in a GLM
glmlist() loglmlist() coef(<glmlist>)
Create a Model List Object
seq_loglm()
Sequential Loglinear Models for an N-way Table

Statistical tests

Statistical tests for categorical data

CMHtest() print(<CMHtest>)
Generalized Cochran-Mantel-Haenszel Tests
GKgamma()
Calculate Goodman-Kruskal Gamma for ordered tables
print(<Kappa>)
Print Kappa
HosmerLemeshow() HLtest() print(<HLtest>) summary(<HLtest>) plot(<HLtest>) rootogram(<HLtest>)
Hosmer-Lemeshow Goodness of Fit Test
logLik(<loglm>)
Log-Likelihood of a loglm Object
LRstats()
Brief Summary of Model Fit for glm and loglm Models
modFit()
Brief Summary of Model Fit for a glm or loglm Object
zero.test()
Score test for zero inflation in Poisson data

Distributions

Logseries distributions

dlogseries() plogseries() qlogseries() rlogseries()
The Logarithmic Series Distribution

Utility

Utility functions in the package

datasets()
Information on Data Sets in Packages
blogits()
Bivariate Logits and Log Odds Ratio
collapse.table()
Collapse Levels of a Table
cutfac()
Cut a Numeric Variable to a Factor
expand.dft() expand.table()
Expand a frequency table to case form

Other

Other functions in the package (not yet classified)

mcaplot()
Simple and enhanced plot of MCA solutions
summarise()
Deprecated Functions in vcdExtra Package
Summarise()
Brief Summary of Model Fit for glm and loglm Models
update(<xtabs>)
Update method for a xtabs object
vcdExtra-package vcdExtra
Extensions and additions to vcd: Visualizing Categorical Data

Data

Some small data sets used in examples or in DDAR

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(1954)
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