Learn R Programming

AnDE (version 1.0)

cutX: cutX

Description

This function takes in a data frame to be discretized. The data type of the columns are important. Only the numeric columns are discretized.

Usage

cutX(data, cutp)

Arguments

data
data.frame. This data frame is discretized and returned.
cutp
list - A list of cutp points obtained from training data

Value

data data.frame. This the discretized data frame

Details

This uses the cut points generated while discretizing training data to discretize test data