bin_values: bin_values

View source: R/functions_util.R

bin_valuesR Documentation

bin_values

Description

bin_values

Usage

bin_values(x, n_bins, xrng = range(x))

Arguments

x

Values to assign to bins

n_bins

Number of bins to assign values to

xrng

Optional numeric of length 2. Defines the domain to define bins for. Defaults to range(x).

Value

bin assignments parall to x.

Examples

bin_values(0:10, 3)

jrboyd/seqtsne documentation built on Nov. 5, 2022, 6:37 a.m.