makeCustomCoderNum {vtreat} | R Documentation |
Make a numeric input custom coder.
Description
Make a numeric input custom coder.
Usage
makeCustomCoderNum(
...,
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, numeric |
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
[Package vtreat version 1.6.5 Index]