quantizer: Discretize Variables into Number of Bins by Unique Values

View source: R/make_basis.R

quantizerR Documentation

Discretize Variables into Number of Bins by Unique Values

Description

Discretize Variables into Number of Bins by Unique Values

Usage

quantizer(X, bins)

Arguments

X

A numeric vector to be discretized.

bins

A numeric scalar indicating the number of bins into which X should be discretized..


hal9001 documentation built on Nov. 14, 2023, 5:08 p.m.