# Categorical data

VPCs can also be made for categorical data. These show the probability of observing a specific discrete outcome (or count), and plot this versus the simulated probability, shown as a confidence interval.

obs_cat <- read_table_nm(file=paste0(system.file(package="vpc"), "/extdata/sdtab45"))