formatSummarizedFactors | R Documentation |
An object with class "summarizedFactors" is the input. Such an object should be created with the function rockchalk::summarizeFactors. Each element in that list is then organized for printing in a tabular summary. This should look almost like R's own summary function, except for the additional information that these factor summaries include.
formatSummarizedFactors(x, ...)
x |
A summarizedFactors object produced by summarizeFactors |
... |
optional arguments. Only value currently used is digits, which defaults to 2. |
A table of formatted output
Paul E. Johnson pauljohn@ku.edu
summarize
, summarizeFactors
, formatSummarizedNumerics
dat <- data.frame(xcat1 = gl(10, 3), xcat2 = gl(5, 6)) summarizeFactors(dat, maxLevels = 8) formatSummarizedFactors(summarizeFactors(dat))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.