makeCustomCoderCat: Make a categorical input custom coder.

Description Usage Arguments Value

View source: R/customCoder.R

Description

Make a categorical input custom coder.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
makeCustomCoderCat(
  ...,
  customCode,
  coder,
  codeSeq,
  v,
  vcolin,
  zoY,
  zC,
  zTarget,
  weights = NULL,
  catScaling = FALSE
)

Arguments

...

not used, force arguments to be set by name

customCode

code name

coder

user supplied variable re-coder (see vignette for type signature)

codeSeq

argments to custom coder

v

variable name

vcolin

data column, character

zoY

outcome column as numeric

zC

if classification outcome column as character

zTarget

if classification target class

weights

per-row weights

catScaling

optional, if TRUE use glm() linkspace, if FALSE use lm() for scaling.

Value

wrapped custom coder


vtreat documentation built on June 11, 2021, 5:13 p.m.