------------------------------------------------------------------------------- help forcatploti-------------------------------------------------------------------------------

Immediate plots of frequencies, fractions or percents of categorical data

catploti{bar|hbar|dot}#11#12[...]\#21#22[...] [\...] [,catplot(catplot_options)tabi(tabi_options)]

Description

catploticalls tabi for the table arguments given (that is, a list of cell frequencies, given left to right and top to bottom, ends of line being indicated by\) and then fires up catplot to draw a graph of the data. The syntaxescatploti bar,catploti hbarandcatploti dotare specified to indicate underlying use of graph bar, graph hbar and graph dot respectively.Note that the rows and columns of the table produced by

tabiare specified by variablesrowandcol.

Options

catplot(catplot_options)is a bag for options of catplot.

tabi(tabi_options)is a bag for options of tabi. Note thatreplaceis automatically included, but has no effect beyond the duration of the program.

Examples. catploti bar 23 45 \ 56 78, c(asyvars percent(row))

AuthorNicholas J. Cox, University of Durham n.j.cox@durham.ac.uk

AcknowledgementsEva Poen suggested this problem.