metric.i {twang} | R Documentation |
Rearranges the arguments of the *.stat functions so that they may be passed to
optimize
metric.i(i, fun = ks.stat, ...)
i |
the number of gbm iterations |
fun |
a valid *.stat function |
... |
other arguments to be passed to fun |
Evaluates fun
at i