This is a simple convenience wrapper function to print and/or store objects returned in
table class as either a
list, which allows for more versatility in the printing methods for tabulations (e.g., presenting tabulations "long-ways", as opposed to the default short, and therefore potentially wide, method for the
table class). Currently only implemented for one object interpretable as a factor, since
stats::ftable() exists for multi-object tabulation
an object suitable for tabulating discrete counts (i.e., interpretable as a factor). See documentation for
Character vector containing the labels to be used for
Character string (
Returns an object in the class indicated for
cls containing the frequency tabulation of discrete values in
Rachel M. Smith
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.