encode_binary: Binary Encoding - Supporting Function

Description Usage Arguments Value

View source: R/CatEncodePrerequisites.R

Description

Takes in a vector and encodes using Integer Encoding and then passes the result to Binery Encoding

Usage

1
encode_binary(x, colname, returnFit)

Arguments

x

A categorical field that needs to be Binary encoded

colname

A string with field name of categorical field

returnFit

A boolean indicating if the result should be a fit or the encoded values

Value

Returns encoded data when returnFit parameter is FALSE and fit file to fit the test data otherwise


akunuriYoshitha/CatEncode documentation built on July 16, 2021, 4:16 p.m.