data_frame_contents: List the class and range of values in each column of a data...

Description Usage Arguments Details Examples

Description

List the class and range of values in each column of a data frame

Usage

1
data_frame_contents(df, threshold = 10)

Arguments

df

Data frame containing the variables to be summarized

threshold

The number of discrete values of a certain variable to enumerate. Defaults to 10, which typically fits within margin of knitr output

Details

This function creates a data frame with the name, class, and range of values included for each column in a data frame, as well as the number of missing and zero values. It returns a data frame with that information, with one variable per record.

Examples

1
df_contents <- data_frame_contents, 9)

rickdonnelly/pcvmodr documentation built on May 14, 2019, 8:17 a.m.