discrete_bin: discrete_bin

Description Usage Arguments Value

View source: R/stat.R

Description

divide a variable of interest 'vals' into intervals of length 'bin_len' return ids of 'vals' as a list

Usage

1
discrete_bin(vals, bin_len)

Arguments

vals

is a numeric vector, the variable of interest

bin_len

is the interval to divide 'vals' by

Value

a list of ids for 'vals' divided by 'bin_len' into bins


crumplecup/muddier documentation built on Aug. 18, 2021, 11:02 a.m.