Learn R Programming

twang (version 0.6-1)

metric.i: Losses for *.stat functions

Description

Rearranges the arguments of the *.stat functions so that they may be passed to optimize

Usage

metric.i(i, fun = ks.stat, ...)

Arguments

i
the number of gbm iterations
fun
a valid *.stat function
...
other arguments to be passed to fun

Value

  • Evaluates fun at i

See Also

ks.stat, es.stat, strata.stat