numeric_summary {tidybins}R Documentation

numeric summary

Description

This function summarizes an arbitrary bin column, with respect to its original column. Can be used to summarize bins created from any package, or any arbitrary categorical column paired with a numeric column.

Usage

numeric_summary(mdb, original_col, bucket_col)

Arguments

mdb

a data frame

original_col

original numeric column

bucket_col

columns of bins

Value

a tibble

Examples


iris %>%
numeric_summary(original_col = Sepal.Length, bucket_col = Species)


[Package tidybins version 0.1.1 Index]