target_mean_enc: Target mean encoding

Description Usage Arguments Value

View source: R/target_mean_ec.R

Description

this function takes a data table and a column and a target predictor to calculate target mean encoding.

Usage

1
target_mean_enc(data, column, target)

Arguments

a

data table, column string, target string

Value

a data frame with resulted values


tw1118/myutilitypackage documentation built on Jan. 31, 2018, 5:20 a.m.