Usage
## S3 method for class 'table':
Desc(x, main = NULL, rfrq = NULL,
margins = c(1, 2), plotit = getOption("plotit", FALSE),
verbose = c("medium","low","high"), ...)
## S3 method for class 'matrix':
Desc(x, main = NULL, rfrq = NULL,
margins = c(1,2), plotit = getOption("plotit", FALSE),
verbose = c("medium","low","high"), ...)Arguments
x
a n-dimensional table or matrix
main
the main caption for the output.
rfrq
a string with 3 characters, each of them being 1 or 0. The first position is interpreted as total
percentages, the second as row percentages and the third as column percentages.
"011" hence produces a table ou
margins
a vector, consisting out of 1 and/or 2. Defines the margin sums to be included.
Row margins are reported if margins is set to 1. Set it to 2 for column margins and c(1,2) for both.
Default is NULL (none).
plotit
logical. Should a plot be created? The table will be plotted by PlotDesc.table, which creates two mosaicplots. Default is FALSE. verbose
character defining the verbosity of the reported results. One out of c("medium","low","high"), "medium" being the default. Can be abbreviated.
...
the dots are passed to the function PercTable, allowing to set futher arguments like expected values etc.