bin_values_centers: bin_values_centers

View source: R/functions_util.R

bin_values_centersR Documentation

bin_values_centers

Description

bin_values_centers

Usage

bin_values_centers(n_bins, rng)

Arguments

n_bins

Number of bins to assign values to

rng

Numeric to define bins for. Defaults to range(x).

Value

numeric of length n_bins containing centers of bins.

Examples

bin_values_centers(3, 0:10)
bin_values_centers(3, range(0:10))

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