Learn R Programming

summarytools (version 0.1)

properties: Dataframe Attributes Along With Individual Column Attributes

Description

Generates a table containing variable information: type, class and other attributes, label and first observation. Optionally uses package 'pander' to display pretty tables.

Usage

properties(x, echo=TRUE, style="grid", justify="left",
           plain.ascii=TRUE, display.labels=FALSE, ...)

Arguments

x
A dataframe
echo
If TRUE (default), pander tables will be displayed and resulting dataframe will be returned silently.
style
Pander argument. Defaults to "grid".
justify
Pander argument. Defaults to "left".
plain.ascii
Pander argument. Defaults to TRUE.
display.labels
If TRUE, a column containing Hmisc-type labels will be added. Defaults to FALSE.
...
Additional arguments to be passed to pander.

Value

  • A dataframe containing as many rows as there are columns in x.

Examples

Run this code
properties(iris,echo=TRUE)

Run the code above in your browser using DataLab