DescTools (version 0.99.14)

Desc.data.frame: Describe a data.frame Or a List

Description

Describes all the columns of a data.frame, resp. all the elements of a list, according to their class.

Usage

## S3 method for class 'data.frame':
Desc(x, sep = paste(rep("-", (as.numeric(options("width")) - 2)), collapse = ""),
     main = NULL, enum = TRUE, ...)

## S3 method for class 'list':
Desc(x, sep = paste(rep("-", (as.numeric(options("width")) - 2)), collapse = ""),
     main = NULL, enum = TRUE, summary = TRUE, ...)

Arguments

x
the data.frame, the matrix or the list to be described
sep
character. The separator for the title.
main
a vector with the main titles for the description of the variables. If this is left blank, the title will be composed as: number - variablename (class(es)).
enum
logical, determining if the number should be included or not. Default is TRUE. The numbers may be redundant or inconsistent, if a Word report with enumerated headings is created.
summary
logical, defining if a summary of the whole list should be given initially, before describing the single objects. Default is TRUE.
...
the dots are passed to the child functions.

Value

  • No results are returned.

Details

See detailed information in the description of the according object interfaces.

See Also

Desc, PlotDesc

Examples

Run this code
Desc(d.pizza[,c("temperature","count","driver","date","wine_delivered")] )

Desc(as.list(d.pizza[,c("temperature","count","driver","date","wine_delivered")]) )

Run the code above in your browser using DataCamp Workspace