print_sum_stats: Print results of 'sum_stats()' nicely

Description Usage Arguments Value Examples

View source: R/summary_statistics.R

Description

Use this function to print your results from sum_stats() in a more reader-friendly way.

Usage

1
print_sum_stats(x, given_var)

Arguments

x

An object created by sum_stats().

given_var

The given variable you used to create x. The variable's name is given as a string.

Value

The same results as in sum_stats(), but printed nicely.

Examples

1
2
3
data(iris)
x <- sum_stats(iris, "Sepal.Length", stats = c("mean", "var"), n_quantiles = 5) 
print_sum_stats(x, "Sepal.Length")

tajohu/GGenemy documentation built on Nov. 5, 2019, 9:44 a.m.