Make a categorical input custom coder.

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