encode_poly: Contrast Encoding using Polynomial Coding

Description Usage Arguments Value

View source: R/CatEncodePrerequisites.R

Description

Takes in a vector and encodes using Polynomial Coding

Usage

1
encode_poly(x, dv)

Arguments

x

Any categorical vector which needs to be encoded

dv

Dependent variable of the dataset

Value

Returns a list with encoded data and fit file to fit the test data


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