tbl_binr: Cut Numeric Values Into Evenly Distributed Groups (bins).

View source: R/binning.R

tbl_binrR Documentation

Cut Numeric Values Into Evenly Distributed Groups (bins).

Description

Cut Numeric Values Into Evenly Distributed Groups (bins).

Usage

tbl_binr(
  data,
  variables = NULL,
  remove_original_variables = F,
  target_bins = NULL,
  max_breaks = NULL,
  exact_groups = F,
  verbose = T,
  errthresh = 0.1,
  minpts = NA
)

Arguments

minpts

Examples

library(ggplot2)
library(tidyverse)
library(asbtools)
tbl_binr(data = diamonds, variables = c("price", "table"), target_bins = 5, max_breaks = 1)



abresler/asbtools documentation built on July 28, 2022, 11:04 p.m.