Learn R Programming

ez (version 4.4-0)

ezPrecis: Obtain a structure summary of a given data frame

Description

This function provides a structure summary of a given data frame.

Usage

ezPrecis( data , transpose = TRUE )

Arguments

data
Data frame containing the data to be analyzed.
transpose
Logical. If TRUE (default), triggers tranposition of the resulting summary data frame (useful when there are many columns in the original data frame, leading the untransposed summary data frame to wrap).

Value

A data frame containing the descriptive information about each column in the specified data frame: A data frame containing the descriptive information about each column in the specified data frame:

Details

This function was inspired by the whatis() function from the YaleToolkit package.

See Also

ezDesign

Examples

Run this code
#Read in the ANT2 data (see ?ANT2).
data(ANT2)
head(ANT2)

#Show a summary of the ANT2 data.
ezPrecis(ANT2)

Run the code above in your browser using DataLab