Package 'cutnumberint'

Title: Cut integer-ish data nicely
Description: Provides a nicer version of cut_number()
Authors: Hiroaki Yutani [aut, cre]
Maintainer: Hiroaki Yutani <[email protected]>
License: MIT + file LICENSE
Version: 0.0.0.9000
Built: 2024-06-22 02:11:22 UTC
Source: https://github.com/yutannihilation/cutnumberint

Help Index


Cut integerish data nicely

Description

Cut integerish data nicely

Usage

cut_number_int(x, n, retry = 3L, show_highest_value = FALSE)

Arguments

x

a numeric vector which is to be converted to a factor by cutting.

n

number of bins to create.

retry

number of maximum attempts to calculate the non-duplicated breaks for the given.

show_highest_value

if FALSE, do not show the highest value in the label (i.e. the label would be "100~").