summarize_df: Summarize a data.frame by applying 'summarize_obj' to each...

View source: R/summarize_data.R

summarize_dfR Documentation

Summarize a data.frame by applying summarize_obj to each column

Description

Iterates through all the objects of a dataset, call summarize_obj on each, and aggregates the results in a data.frame. This one is not meant to be called directly, because it returns a data.frame full of information but not really visual friendly. But we export it anyway, in case it is useful at some point.

Usage

summarize_df(df)

Arguments

df

data.frame object to summarize

Value

a data.frame summarizing the original data.frame with information such as length (number of elements), number of na, number of unique elements, sum, min, max, mean, median, percentiles, most frequent values

Examples

summarize_df(mtcars)

edalfon/efun documentation built on June 23, 2024, 4:17 a.m.