Coerce a tableby
object to a data.frame
.
# S3 method for tableby as.data.frame(x, ..., labelTranslations = NULL, list.ok = FALSE)
x | A |
---|---|
... | Arguments to pass to |
labelTranslations | A named list (or vector) where the name is the label in the
output to be replaced in the pretty rendering by the character string
value for the named element of the list, e.g., |
list.ok | If the object has multiple by-variables, is it okay to return a list of data.frames instead of a single data.frame?
If |
A data.frame
.
Ethan Heinzen, based on code originally by Greg Dougherty