Learn R Programming

⚠️There's a newer version (1.4-12) of this package.Take me there.

vcd (version 1.4-9)

Visualizing Categorical Data

Description

Visualization techniques, data sets, summary and inference procedures aimed particularly at categorical data. Special emphasis is given to highly extensible grid graphics. The package was package was originally inspired by the book "Visualizing Categorical Data" by Michael Friendly and is now the main support package for a new book, "Discrete Data Analysis with R" by Michael Friendly and David Meyer (2015).

Copy Link

Version

Install

install.packages('vcd')

Monthly Downloads

37,464

Version

1.4-9

License

GPL-2

Maintainer

Last Published

October 18th, 2021

Functions in vcd (1.4-9)

Kappa

Cohen's Kappa and Weighted Kappa
DanishWelfare

Danish Welfare Study Data
Hospital

Hospital data
CoalMiners

Breathlessness and Wheeze in Coal Miners
Saxony

Families in Saxony
JobSatisfaction

Job Satisfaction Data
Rochdale

Rochdale Data
OvaryCancer

Ovary Cancer Data
UKSoccer

UK Soccer Scores
VisualAcuity

Visual Acuity in Left and Right Eyes
BrokenMarriage

Broken Marriage Data
co_table

Compute Conditional Tables
PreSex

Pre-marital Sex and Divorce
Bundesliga

Ergebnisse der Fussball-Bundesliga
MSPatients

Diagnosis of Multiple Sclerosis
Lifeboats

Lifeboats on the Titanic
coindep_test

Test for (Conditional) Independence
SexualFun

Sex is Fun
assoc

Extended Association Plots
SpaceShuttle

Space Shuttle O-ring Failures
assocstats

Association Statistics
labeling_border

Labeling Functions for Strucplots
cotabplot

Coplot for Contingency Tables
WomenQueue

Women in Queues
cotab_panel

Panel-generating Functions for Contingency Table Coplots
Employment

Employment Status
agreementplot

Bangdiwala's Observer Agreement Chart
Hitters

Hitters Data
NonResponse

Non-Response Survey Data
Arthritis

Arthritis Treatment Data
Federalist

`May' in Federalist Papers
struc_sieve

Core-generating Function for Sieve Plots
Pairs plot panel functions for off-diagonal cells

Off-diagonal Panel Functions for Table Pairs Plot
Baseball

Baseball Data
labeling_cells_list

Labeling Functions for Strucplots
plot.loddsratio

Plotting (Log) Odds Ratios
grid_barplot

Barplot
grid_legend

Legend Function for grid Graphics
Ord_plot

Ord Plots
Punishment

Corporal Punishment Data
strucplot

Structured Displays of Contingency Tables
mosaic

Extended Mosaic Plots
structable

Structured Contingency Tables
spacings

Spacing-generating Functions
table2d_summary

Summary of a 2-way Table
spine

Spine Plots and Spinograms
legends

Legend Functions for Strucplots
mplot

Multiple Grid plots
Pairs plot panel functions for diagonal cells

Diagonal Panel Functions for Table Pairs Plot
pairs.table

Pairs Plot for Contingency Tables
lodds

Calculate Generalized Log Odds for Frequency Tables
plot.loglm

Visualize Fitted Log-linear Models
HorseKicks

Death by Horse Kicks
VonBort

Von Bortkiewicz Horse Kicks Data
Trucks

Truck Accidents Data
rootogram

Rootograms
Suicide

Suicide Rates in Germany
RepVict

Repeat Victimization Data
binreg_plot

Binary Regression Plot
fourfold

Fourfold Plots
distplot

Diagnostic Distribution Plots
cd_plot

Conditional Density Plots
WeldonDice

Weldon's Dice Data
doubledecker

Doubledecker Plot
hls

HLS Color Specification
goodfit

Goodness-of-fit Tests for Discrete Data
independence_table

Independence Table
tile

Tile Plot
ternaryplot

Ternary Diagram
loddsratio

Calculate Generalized Log Odds Ratios for Frequency Tables
sieve

Extended Sieve Plots
mar_table

Table with Marginal Sums
shadings

Shading-generating Functions for Residual-based Shadings
struc_assoc

Core-generating Function for Association Plots
struc_mosaic

Core-generating Function for Mosaic Plots
woolf_test

Woolf Test
Bundestag2005

Votes in German Bundestag Election 2005
Butterfly

Butterfly Species in Malaya
JointSports

Opinions About Joint Sports