Discretize: Discretize variable on demand

View source: R/utils.R

DiscretizeR Documentation

Discretize variable on demand

Description

Discretize variable on demand

Usage

Discretize(data, variable.idx, divisions, discretization.nr, seed, range)

Arguments

data

input data where columns are variables and rows are observations (all numeric)

variable.idx

variable index (as it appears in data)

divisions

number of divisions

discretization.nr

discretization number (positive integer)

seed

seed for PRNG

range

discretization range

Value

Discretized variable.

Examples

Discretize(madelon$data, 3, 1, 1, 0, 0.5)

MDFS documentation built on May 31, 2023, 7:31 p.m.

Related to Discretize in MDFS...