tidy_summary: Function to create tidy data descriptives from a data frame.

tidy_summaryR Documentation

Function to create tidy data descriptives from a data frame.

Description

Function to create tidy data descriptives from a data frame.

Usage

tidy_summary(df, round = 3, json = FALSE)

Arguments

df

Data frame for descriptives to be calculated for.

round

Rounding precision of descriptives. Default is 3.

json

Should the return be a pretty JSON array?

Value

Data frame or pretty printed JSON.

Author(s)

Stuart K. Grange

Examples

## Not run: 

# Calcuate summaries
data_summary <- tidy_summary(data_air)


## End(Not run)


skgrange/threadr documentation built on May 11, 2024, 12:16 p.m.